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
commit
e668119a04
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>Flyway</artifactId>
|
||||
<version>1.39.2</version>
|
||||
<version>1.39.3</version>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
|
|
@ -18,10 +18,12 @@ declare
|
|||
object_exists exception;
|
||||
except_01451 exception;
|
||||
except_01442 exception;
|
||||
except_02275 exception;
|
||||
|
||||
pragma exception_init (object_exists , -01430);
|
||||
pragma exception_init (except_01451 , -01451);
|
||||
pragma exception_init (except_01442 , -01442);
|
||||
pragma exception_init (except_02275 , -02275);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE "RUTA_COMBINACION" ADD CONSTRAINT "FK_RUTA_ALIAS" FOREIGN KEY ("ALIASRUTA_ID")
|
||||
REFERENCES "RUTA" ("RUTA_ID") ENABLE';
|
||||
|
@ -29,6 +31,7 @@ begin
|
|||
when object_exists then null;
|
||||
when except_01451 then null;
|
||||
when except_01442 then null;
|
||||
when except_02275 then null;
|
||||
end;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue