diff --git a/src/db/migration/V20180329_1840__mantis9974.sql b/src/db/migration/V20180329_1840__mantis9974.sql new file mode 100644 index 000000000..69965b881 --- /dev/null +++ b/src/db/migration/V20180329_1840__mantis9974.sql @@ -0,0 +1,7 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'Insert into constante (CONSTANTE_ID,NOMBCONSTANTE,DESCCONSTANTE,INDTIPOCONSTANTE,VALORCONSTANTE,INDMANTENIMIENTOUSUARIO,ACTIVO,FECMODIF,USUARIO_ID) values (CONSTANTE_SEQ.NEXTVAL,''UTILIZAR_CODIGO_MONITRIP'',''UTILIZAR_CODIGO_MONITRIP'',null,''0'',''1'',''1'',to_date(''29/03/18'',''DD/MM/RR''),''1'')'; + exception when dup_val_on_index then null; +end; \ No newline at end of file