From 39774b5c7638efe32d7296253d4b3b4feae184aa Mon Sep 17 00:00:00 2001 From: walace Date: Fri, 21 Sep 2018 21:27:37 +0000 Subject: [PATCH] =?UTF-8?q?criado=20a=20customiza=C3=A7=C3=A3o=20para=20ve?= =?UTF-8?q?nda=20em=20p=C3=A9,=20sentado=20por=20servi=C3=A7o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes bug#11741 dev:lucas qua:marcelo git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@85583 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180824_1021__mantis11741.sql | 8 ++++++++ .../postgresql/migration/V20180824_1021__mantis11741.sql | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/db/migration/V20180824_1021__mantis11741.sql create mode 100644 src/db/postgresql/migration/V20180824_1021__mantis11741.sql diff --git a/src/db/migration/V20180824_1021__mantis11741.sql b/src/db/migration/V20180824_1021__mantis11741.sql new file mode 100644 index 000000000..1a28e03dc --- /dev/null +++ b/src/db/migration/V20180824_1021__mantis11741.sql @@ -0,0 +1,8 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE ESQUEMA_TRAMO ADD (TIPO_PASSAGEM VARCHAR2(1))'; + exception when column_exists then null; +end; +/ \ No newline at end of file diff --git a/src/db/postgresql/migration/V20180824_1021__mantis11741.sql b/src/db/postgresql/migration/V20180824_1021__mantis11741.sql new file mode 100644 index 000000000..1a28e03dc --- /dev/null +++ b/src/db/postgresql/migration/V20180824_1021__mantis11741.sql @@ -0,0 +1,8 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE ESQUEMA_TRAMO ADD (TIPO_PASSAGEM VARCHAR2(1))'; + exception when column_exists then null; +end; +/ \ No newline at end of file