From 6157de58aa3a5bd4bece4dfedabb15ae9deeda5d Mon Sep 17 00:00:00 2001 From: frederico Date: Thu, 29 Mar 2018 18:25:00 +0000 Subject: [PATCH] bug#10563 dev:veloso qua:wallysson git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@80409 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20180329_1547__mantis10563.sql | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/db/migration/V20180329_1547__mantis10563.sql 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