diff --git a/src/db/migration/V20210803_1553__mantis21498.sql b/src/db/migration/V20210803_1553__mantis21498.sql new file mode 100644 index 000000000..6665d5b34 --- /dev/null +++ b/src/db/migration/V20210803_1553__mantis21498.sql @@ -0,0 +1,14 @@ +declare + dup_val_on_index exception; + except_02291 exception; + + pragma exception_init (dup_val_on_index , -00001); + pragma exception_init (except_02291 , -02291); +begin + execute immediate + 'INSERT INTO GP_PRICING_BEN_CL_TARI(PRICINGBENCLTARI_ID,NOMEBENEFICIO,DESCBENEFICIO,USUARIO_ID,FECMODIF,ACTIVO) + VALUES (GP_PRICING_BEN_C_TAR_CTRL_SEQ.NEXTVAL, ''ISENCAO_POLTRONA'',''Não pagamento da marcação de poltrona'',-1,SYSDATE,1)'; + exception + when dup_val_on_index then null; + when except_02291 then null; +end;