diff --git a/src/db/migration/V20180427_1744__mantis10972.sql b/src/db/migration/V20180427_1744__mantis10972.sql new file mode 100644 index 000000000..22d3fa68f --- /dev/null +++ b/src/db/migration/V20180427_1744__mantis10972.sql @@ -0,0 +1,15 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values + (funcion_sistema_seq.nextval,2,''VDA > AUTORIZACAO > CONSULTAM CORRIDAS ANTERIORES ABERTO'',''COM.RJCONSULTORES.SCO.CONSULTACORRIDASANTERIORES.ABERTO'',1,sysdate,1)'; + end; +/ +declare + begin + execute immediate 'Insert into constante (CONSTANTE_ID,NOMBCONSTANTE,DESCCONSTANTE,INDTIPOCONSTANTE,VALORCONSTANTE,INDMANTENIMIENTOUSUARIO,ACTIVO,FECMODIF,USUARIO_ID) values (CONSTANTE_SEQ.NEXTVAL,''HABILITA_BUSCA_CORRIDA_ABIERTO_ANTERIOR'',''HABILITA_BUSCA_CORRIDA_ABIERTO_ANTERIOR'',null,''0'',''1'',''1'',to_date(''27/04/18'',''DD/MM/RR''),''1'')'; + + exception when dup_val_on_index then null; +end; +