diff --git a/pom.xml b/pom.xml index 247ef9e06..d7535d362 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.6.0 + 1.6.1 diff --git a/src/db/migration/V20230721_1438__AL2980.sql b/src/db/migration/V20230721_1438__AL2980.sql new file mode 100644 index 000000000..1aed8092f --- /dev/null +++ b/src/db/migration/V20230721_1438__AL2980.sql @@ -0,0 +1,12 @@ +declare + object_exists exception; + except_00957 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE PRICING_CONEXAO MODIFY PRICING_ID NUMBER(15,0)'; + exception + when object_exists then null; + when except_00957 then null; +end; \ No newline at end of file