diff --git a/src/db/migration/V20220913_0907__AL1226.sql b/src/db/migration/V20220913_0907__AL1226.sql index e864e7300..8bc815849 100644 --- a/src/db/migration/V20220913_0907__AL1226.sql +++ b/src/db/migration/V20220913_0907__AL1226.sql @@ -1,13 +1,19 @@ declare dup_val_on_index exception; + except_00955 exception; + + pragma exception_init (except_00955 , -00955); pragma exception_init (dup_val_on_index , -00001); begin execute immediate 'CREATE SEQUENCE "REDONDEO_ORGAOCONCEDENTE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999 INCREMENT BY 1 START WITH 121 CACHE 20 NOORDER NOCYCLE NOKEEP NOSCALE GLOBAL'; exception when dup_val_on_index then null; + exception when except_00955 then null; end; / declare dup_val_on_index exception; + except_00955 exception; + pragma exception_init (except_00955 , -00955); pragma exception_init (dup_val_on_index , -00001); begin execute immediate @@ -23,4 +29,5 @@ begin FOREIGN KEY (ORGAOCONCEDENTE_ID) REFERENCES ORGAO_CONCEDENTE (ORGAOCONCEDENTE_ID) ENABLE )'; exception when dup_val_on_index then null; + exception when except_00955 then null; end; \ No newline at end of file