diff --git a/pom.xml b/pom.xml index 48e80a7e1..f01230d94 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.18.0 + 1.19.0 diff --git a/src/db/migration/V20231109_1110__AL-3470.sql b/src/db/migration/V20231109_1110__AL-3470.sql new file mode 100644 index 000000000..7aa3aaa98 --- /dev/null +++ b/src/db/migration/V20231109_1110__AL-3470.sql @@ -0,0 +1,13 @@ +declare + object_exists exception; + except_00957 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE EMPRESA ADD (LICENCA VARCHAR(500))'; + exception + when object_exists then null; + when except_00957 then null; +end; +/ \ No newline at end of file