diff --git a/src/db/migration/V20161118_1035__mantis8123.sql b/src/db/migration/V20161118_1035__mantis8123.sql new file mode 100644 index 000000000..2e3839ded --- /dev/null +++ b/src/db/migration/V20161118_1035__mantis8123.sql @@ -0,0 +1,8 @@ +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,1,''ADM >> CATALOGOS > REGIAO METROPOLITANA'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.CATALOGO.MENU.REGIONMETROPOLITANA'',1,SYSDATE,1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file