Merge pull request 'AL-4545' (!210) from AL-4545 into master

Reviewed-on: utilidades/Flyway#210
Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>
master
fabio 2024-10-09 14:41:40 +00:00
commit 7d5b8ed8e8
2 changed files with 18 additions and 1 deletions

View File

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

View File

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