From 601147d8c1a0c98ef4d027048f735025d52269a8 Mon Sep 17 00:00:00 2001 From: fabio Date: Tue, 16 Jun 2020 22:39:03 +0000 Subject: [PATCH] fixes bug#19272 dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@102130 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20200608_1522__mantis19272.sql | 9 +++++++++ .../postgresql/migration/V20200608_1522__mantis19272.sql | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 src/db/migration/V20200608_1522__mantis19272.sql create mode 100644 src/db/postgresql/migration/V20200608_1522__mantis19272.sql diff --git a/src/db/migration/V20200608_1522__mantis19272.sql b/src/db/migration/V20200608_1522__mantis19272.sql new file mode 100644 index 000000000..a0a87d472 --- /dev/null +++ b/src/db/migration/V20200608_1522__mantis19272.sql @@ -0,0 +1,9 @@ +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 > RELATORIO >> FINANCEIRO >>> APROVEITAMENTO FINANCEIRO'', + ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOAPROVEITAMENTOFINANCEIRO'', 1, SYSDATE, 1)'; + exception when dup_val_on_index then null; +end; + diff --git a/src/db/postgresql/migration/V20200608_1522__mantis19272.sql b/src/db/postgresql/migration/V20200608_1522__mantis19272.sql new file mode 100644 index 000000000..a0a87d472 --- /dev/null +++ b/src/db/postgresql/migration/V20200608_1522__mantis19272.sql @@ -0,0 +1,9 @@ +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 > RELATORIO >> FINANCEIRO >>> APROVEITAMENTO FINANCEIRO'', + ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOAPROVEITAMENTOFINANCEIRO'', 1, SYSDATE, 1)'; + exception when dup_val_on_index then null; +end; +