diff --git a/src/db/migration/V20180329_1547__mantis10563.sql b/src/db/migration/V20180329_1547__mantis10563.sql new file mode 100644 index 000000000..47463554b --- /dev/null +++ b/src/db/migration/V20180329_1547__mantis10563.sql @@ -0,0 +1,28 @@ +declare + begin + execute immediate 'INSERT INTO FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID) +values (FUNCION_SISTEMA_SEQ.NEXTVAL,''1'',''ADM > ESQUEMA OPERACIONAL >> GERACAO ARQUIVO EMTU'', +''COM.RJCONSULTORES.ADMINISTRACION.GUI.ESQUEMAOPERACIONAL.MENU.GERACAOARQUIVOEMTU'', +''1'',to_date(''15/04/16'',''DD/MM/RR''),''1'')'; + exception when others then null; +end; + +/ + +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA ADD CODIGO_EMTU NUMBER(5,0)'; + exception when column_exists then null; +end; + +/ + +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA ADD CODIGO_EMTU NUMBER(5,0)'; + exception when column_exists then null; +end; \ No newline at end of file