Fixes bug#AL-4549
parent
7549be0ce4
commit
303ebd4a8a
|
@ -15,19 +15,8 @@ begin
|
|||
"NUMPLACA" VARCHAR2(8 BYTE),
|
||||
"DOCFLUEC" BLOB
|
||||
)';
|
||||
exception when object_exists then null;
|
||||
end;
|
||||
/
|
||||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -00955);
|
||||
begin
|
||||
execute immediate
|
||||
'CREATE SEQUENCE "TRAYECTOS_EXPRESO_SEQ" MINVALUE 10000 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 10000';
|
||||
exception when object_exists then null;
|
||||
end;
|
||||
|
||||
begin
|
||||
execute immediate
|
||||
'ALTER TABLE "TRAYECTOS_EXPRESOS"
|
||||
ADD FOREIGN KEY ("SOLICITUDEXPRESO_ID")
|
||||
|
|
Loading…
Reference in New Issue