diff --git a/pom.xml b/pom.xml index c9230e87b..e4293aa42 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.40.0 + 1.40.1 diff --git a/src/db/migration/V20240506_1526__AL-4236.sql b/src/db/migration/V20240506_1526__AL-4236.sql new file mode 100644 index 000000000..845cfed82 --- /dev/null +++ b/src/db/migration/V20240506_1526__AL-4236.sql @@ -0,0 +1,16 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE LOG_AUDITORIA MODIFY VALOR_NOVO VARCHAR2(1000)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE LOG_AUDITORIA MODIFY VALOR_ANTERIOR VARCHAR2(1000)'; + exception when column_exists then null; +end; +/ \ No newline at end of file