From 0220f4af4bd6c2fe0416e75fcac6dd13c39018dd Mon Sep 17 00:00:00 2001 From: valdevir Date: Tue, 16 Jul 2024 11:23:03 -0300 Subject: [PATCH] fixes bug #AL-4634 --- pom.xml | 164 +++++++++--------- .../backup/oracle/V20240716_0958__AL-4634.sql | 7 + 2 files changed, 89 insertions(+), 82 deletions(-) create mode 100644 src/db/backup/oracle/V20240716_0958__AL-4634.sql diff --git a/pom.xml b/pom.xml index 0772696b5..128ff088e 100644 --- a/pom.xml +++ b/pom.xml @@ -1,83 +1,83 @@ - - 4.0.0 - br.com.rjconsultores - Flyway - 1.64.0 - - - - rj-releases - http://52.5.53.15:8081/nexus/content/repositories/releases/ - - - - - UTF-8 - UTF-8 - - - - src - - - - ${basedir}/src - - *.* - db/** - - - - - - - maven-compiler-plugin - 3.8.1 - - 1.8 - 1.8 - - - - org.flywaydb - flyway-maven-plugin - 3.2.1 - - true - - - - ${project.artifactId} - - - - - org.apache.logging.log4j - log4j-core - 2.17.1 - - - - org.flywaydb - flyway-core - 4.2.0 - - - - javax.servlet - javax.servlet-api - 4.0.0 - provided - - - - com.oracle.database.jdbc - ojdbc8 - 21.7.0.0 - - - - + + 4.0.0 + br.com.rjconsultores + Flyway + 1.65.0 + + + + rj-releases + http://52.5.53.15:8081/nexus/content/repositories/releases/ + + + + + UTF-8 + UTF-8 + + + + src + + + + ${basedir}/src + + *.* + db/** + + + + + + + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + + + + org.flywaydb + flyway-maven-plugin + 3.2.1 + + true + + + + ${project.artifactId} + + + + + org.apache.logging.log4j + log4j-core + 2.17.1 + + + + org.flywaydb + flyway-core + 4.2.0 + + + + javax.servlet + javax.servlet-api + 4.0.0 + provided + + + + com.oracle.database.jdbc + ojdbc8 + 21.7.0.0 + + + + \ No newline at end of file diff --git a/src/db/backup/oracle/V20240716_0958__AL-4634.sql b/src/db/backup/oracle/V20240716_0958__AL-4634.sql new file mode 100644 index 000000000..a9f691b33 --- /dev/null +++ b/src/db/backup/oracle/V20240716_0958__AL-4634.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE PARADA ADD (CODSIGMA VARCHAR2(7))'; + exception when object_exists then null; +end; \ No newline at end of file