diff --git a/src/db/migration/V20221005_1432__AL1407.sql b/src/db/migration/V20221005_1432__AL1407.sql new file mode 100644 index 000000000..bdd206bfb --- /dev/null +++ b/src/db/migration/V20221005_1432__AL1407.sql @@ -0,0 +1,8 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'INSERT INTO CONSTANTE (CONSTANTE_ID, NOMBCONSTANTE, DESCCONSTANTE, VALORCONSTANTE, INDTIPOCONSTANTE, INDMANTENIMIENTOUSUARIO, ACTIVO, FECMODIF, USUARIO_ID) + VALUES (CONSTANTE_SEQ.nextval, ''GENERACION_CORRIDA_APRIMORADA'', ''GENERACION_CORRIDA_APRIMORADA'', ''false'', ''1'', ''1'', ''1'', sysdate, ''1'')'; + exception when dup_val_on_index then null; +end; \ No newline at end of file