Fixes bug#AL-4549
parent
e90cb7801a
commit
7549be0ce4
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.80.0</version>
|
||||
<version>1.80.1</version>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
|
|
@ -38,30 +38,20 @@ begin
|
|||
"USUARIOAUTORIZACREDITO" NUMBER (7),
|
||||
"FECHORAUTORIZACREDITO" DATE
|
||||
)';
|
||||
exception when object_exists then null;
|
||||
end;
|
||||
|
||||
begin
|
||||
execute immediate
|
||||
'CREATE SEQUENCE "SOLICITUD_EXPRESO_SEQ" MINVALUE 10000 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 10000';
|
||||
exception when object_exists then null;
|
||||
end;
|
||||
|
||||
begin
|
||||
execute immediate
|
||||
'ALTER TABLE "SOLICITUD_EXPRESO"
|
||||
ADD FOREIGN KEY ("CIUDADORIGEN_ID")
|
||||
REFERENCES "CIUDAD" ("CIUDAD_ID") ENABLE';
|
||||
exception when object_exists then null;
|
||||
end;
|
||||
begin
|
||||
|
||||
execute immediate
|
||||
'ALTER TABLE "SOLICITUD_EXPRESO"
|
||||
ADD FOREIGN KEY ("CIUDADDESTINO_ID")
|
||||
REFERENCES "CIUDAD" ("CIUDAD_ID") ENABLE';
|
||||
exception when object_exists then null;
|
||||
end;
|
||||
begin
|
||||
|
||||
execute immediate
|
||||
'ALTER TABLE "SOLICITUD_EXPRESO"
|
||||
ADD FOREIGN KEY ("TIPOIDENTIFICACION_ID")
|
||||
|
|
Loading…
Reference in New Issue