Merge pull request 'bug#AL-4032' (!100) from AL-4032 into master

Reviewed-on: utilidades/Flyway#100
Reviewed-by: aristides <aristides@rjconsultores.com.br>
master
wallace 2024-03-20 23:10:57 +00:00
commit 302f8bd319
3 changed files with 15 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.33.0</version>
<version>1.34.0</version>
<distributionManagement>
<repository>

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE EMPRESA ADD (INDIMPRESSAOAPOSCONFABERTO NUMBER(1))';
exception when column_exists then null;
end;

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE EMPRESA ADD (INDIMPRESSAOAPOSCONFABERTO NUMBER(1))';
exception when column_exists then null;
end;