From 6d00eafaf19501918f494dba2c1db244509a2949 Mon Sep 17 00:00:00 2001 From: "guilherme.lopes" Date: Thu, 12 Mar 2020 14:29:42 +0000 Subject: [PATCH] =?UTF-8?q?fixes=20bug#18357=20dev:Daniel.Zauli=20qua:D?= =?UTF-8?q?=C3=A9bora.Rosa=20Ajustes=20nas=20telas=20de=20configura=C3=A7?= =?UTF-8?q?=C3=A3o=20de=20servi=C3=A7os=20e=20de=20linha?= 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@100685 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20200311_1131__mantis18357.sql | 7 +++++++ src/db/migration/V20200312_1113__mantis18357.sql | 7 +++++++ .../postgresql/migration/V20200311_1131__mantis18357.sql | 5 +++++ .../postgresql/migration/V20200312_1113__mantis18357.sql | 5 +++++ 4 files changed, 24 insertions(+) create mode 100644 src/db/migration/V20200311_1131__mantis18357.sql create mode 100644 src/db/migration/V20200312_1113__mantis18357.sql create mode 100644 src/db/postgresql/migration/V20200311_1131__mantis18357.sql create mode 100644 src/db/postgresql/migration/V20200312_1113__mantis18357.sql diff --git a/src/db/migration/V20200311_1131__mantis18357.sql b/src/db/migration/V20200311_1131__mantis18357.sql new file mode 100644 index 000000000..0549b26ff --- /dev/null +++ b/src/db/migration/V20200311_1131__mantis18357.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE RUTA_EMBRQ_DESEMBRQ ADD (PARADA_EMB_DES_ID NUMBER(7))'; + exception when column_exists then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20200312_1113__mantis18357.sql b/src/db/migration/V20200312_1113__mantis18357.sql new file mode 100644 index 000000000..5feb6ffe6 --- /dev/null +++ b/src/db/migration/V20200312_1113__mantis18357.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE ESQUEMA_CORRIDA_EMBRQ_DESEMBRQ ADD (PARADA_EMB_DES_ID NUMBER(7) )'; + exception when column_exists then null; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20200311_1131__mantis18357.sql b/src/db/postgresql/migration/V20200311_1131__mantis18357.sql new file mode 100644 index 000000000..25317d6df --- /dev/null +++ b/src/db/postgresql/migration/V20200311_1131__mantis18357.sql @@ -0,0 +1,5 @@ +DO $$ +BEGIN + ALTER TABLE RUTA_EMBRQ_DESEMBRQ ADD PARADA_EMB_DES_ID NUMBER(7); +END +$$; diff --git a/src/db/postgresql/migration/V20200312_1113__mantis18357.sql b/src/db/postgresql/migration/V20200312_1113__mantis18357.sql new file mode 100644 index 000000000..fdbf84526 --- /dev/null +++ b/src/db/postgresql/migration/V20200312_1113__mantis18357.sql @@ -0,0 +1,5 @@ +DO $$ +BEGIN + ALTER TABLE ESQUEMA_CORRIDA_EMBRQ_DESEMBRQ ADD PARADA_EMB_DES_ID NUMBER(7); +END +$$;