Merge pull request 'bug#al-3856' (!108) from AL-3856 into master

Reviewed-on: utilidades/Flyway#108
Reviewed-by: pinheiro <valdevir@rjconsultores.com.br>
master
Valdir Cordeiro 2024-04-25 19:49:46 +00:00
commit e668119a04
2 changed files with 4 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.39.2</version> <version>1.39.3</version>
<distributionManagement> <distributionManagement>
<repository> <repository>

View File

@ -18,10 +18,12 @@ declare
object_exists exception; object_exists exception;
except_01451 exception; except_01451 exception;
except_01442 exception; except_01442 exception;
except_02275 exception;
pragma exception_init (object_exists , -01430); pragma exception_init (object_exists , -01430);
pragma exception_init (except_01451 , -01451); pragma exception_init (except_01451 , -01451);
pragma exception_init (except_01442 , -01442); pragma exception_init (except_01442 , -01442);
pragma exception_init (except_02275 , -02275);
begin begin
execute immediate 'ALTER TABLE "RUTA_COMBINACION" ADD CONSTRAINT "FK_RUTA_ALIAS" FOREIGN KEY ("ALIASRUTA_ID") execute immediate 'ALTER TABLE "RUTA_COMBINACION" ADD CONSTRAINT "FK_RUTA_ALIAS" FOREIGN KEY ("ALIASRUTA_ID")
REFERENCES "RUTA" ("RUTA_ID") ENABLE'; REFERENCES "RUTA" ("RUTA_ID") ENABLE';
@ -29,6 +31,7 @@ begin
when object_exists then null; when object_exists then null;
when except_01451 then null; when except_01451 then null;
when except_01442 then null; when except_01442 then null;
when except_02275 then null;
end; end;