Postgres Upgrade: Service Code Changes
Code changes required once Postgres is upgraded
Overview
Steps
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.1</version>
</dependency> <dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>9.22.3</version>
</dependency>COPY ./migration/main /flyway/sql
COPY migrate.sh /usr/bin/migrate.sh
RUN chmod +x /usr/bin/migrate.sh
ENTRYPOINT ["/usr/bin/migrate.sh"]PreviousUpgrade Guide: Transitioning DIGIT Modules to Spring Boot Version 3.2.2NextUpdating RDS Version in AWS
Last updated
Was this helpful?