diff --git a/pom.xml b/pom.xml index 1e5895994..a5c70e1b6 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.85.0 + 1.85.1 diff --git a/src/db/migration/V20240819_1835__AL-4812.sql b/src/db/migration/V20240819_1835__AL-4812.sql new file mode 100644 index 000000000..1b5178999 --- /dev/null +++ b/src/db/migration/V20240819_1835__AL-4812.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 EMPRESA_IZIPAY_CONFIG RENAME COLUMN DIAS_CANCELA TO MINUTOS_CANCELA'; + exception + when object_exists then null; + when except_00957 then null; +end; \ No newline at end of file