Merge pull request 'fixes bug #AL-4635' (!145) from AL-4635 into master

Reviewed-on: utilidades/Flyway#145
Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>
master
pinheiro 2024-07-16 19:09:45 +00:00
commit 3937e5c482
2 changed files with 16 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>Flyway</artifactId>
<version>1.65.0</version>
<version>1.66.0</version>
<distributionManagement>
<repository>

View File

@ -0,0 +1,15 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE RUTA ADD (INDFREQMINIMA NUMBER(1,0))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE BOLETO ADD (INDFREQMINIMA NUMBER(1,0))';
exception when column_exists then null;
end;