From d0aef7b736d059076ab9fd60e3be4f919c17748b Mon Sep 17 00:00:00 2001 From: valdir Date: Wed, 8 Aug 2018 19:33:04 +0000 Subject: [PATCH] =?UTF-8?q?0011635:=20Relat=C3=B3rio=20exporta=C3=A7=C3=A3?= =?UTF-8?q?o=20idoso=20ARTESP=20bug#11635=20bug#11693=20bug#11694=20dev:th?= =?UTF-8?q?iago=20qua:marcelo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@84054 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20180808_1103_mantis11635.sql | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/db/migration/V20180808_1103_mantis11635.sql diff --git a/src/db/migration/V20180808_1103_mantis11635.sql b/src/db/migration/V20180808_1103_mantis11635.sql new file mode 100644 index 000000000..764724c3c --- /dev/null +++ b/src/db/migration/V20180808_1103_mantis11635.sql @@ -0,0 +1,32 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD (INDEXIGEENDERECOPASSAGEIRO NUMBER(1,0) DEFAULT 0)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD (INDEXIGEEMAILPASSAGEIRO NUMBER(1,0) DEFAULT 0)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE ORGAO_EMP_PARAM ADD (CODEMPRESAPORORGAO VARCHAR2(30 BYTE))'; + exception when column_exists then null; +end; +/ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'INSERT INTO funcion_sistema VALUES (funcion_sistema_seq.NEXTVAL, 1, ''ADM > RELATORIOS > RELATORIOS > RELATORIOS ESTATISTICO > GRATUIDADE ARTESP'', + ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOGRATUIDADEARTESP'', 1, SYSDATE, 1)'; +end; +