From 4281eee35a57b7b0a468a7177639199520ec2e12 Mon Sep 17 00:00:00 2001 From: "daniel.zauli" Date: Wed, 7 Nov 2018 12:53:55 +0000 Subject: [PATCH] =?UTF-8?q?0012479:=20Ouro=20e=20Prata=20-=20427078=20-=20?= =?UTF-8?q?Totalbus=20VIOP:=20Observa=C3=A7=C3=A3o=20embarque/desembarque?= =?UTF-8?q?=20fixes=20bug#0012479=20dev:Valdir=20qua:Evidencia=20anexa?= 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@86788 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20181029_1100__mantis12479.sql | 2 +- src/db/postgresql/migration/V20181029_1100__mantis12479.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db/migration/V20181029_1100__mantis12479.sql b/src/db/migration/V20181029_1100__mantis12479.sql index ee37f1eb0..a7e2136a9 100644 --- a/src/db/migration/V20181029_1100__mantis12479.sql +++ b/src/db/migration/V20181029_1100__mantis12479.sql @@ -2,6 +2,6 @@ declare column_exists exception; pragma exception_init (column_exists , -01430); begin - execute immediate 'ALTER TABLE EMPRESA ADD INDIMPEMBARQDESEMBARQCUPOM NUMBER(1,0) DEFAULT 0 NOT NULL ENABLE'; + execute immediate 'ALTER TABLE EMPRESA ADD INDIMPEMBARQDESEMBARQCUPOM NUMBER(1,0) DEFAULT 1 NOT NULL ENABLE'; exception when column_exists then null; end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20181029_1100__mantis12479.sql b/src/db/postgresql/migration/V20181029_1100__mantis12479.sql index ee37f1eb0..a7e2136a9 100644 --- a/src/db/postgresql/migration/V20181029_1100__mantis12479.sql +++ b/src/db/postgresql/migration/V20181029_1100__mantis12479.sql @@ -2,6 +2,6 @@ declare column_exists exception; pragma exception_init (column_exists , -01430); begin - execute immediate 'ALTER TABLE EMPRESA ADD INDIMPEMBARQDESEMBARQCUPOM NUMBER(1,0) DEFAULT 0 NOT NULL ENABLE'; + execute immediate 'ALTER TABLE EMPRESA ADD INDIMPEMBARQDESEMBARQCUPOM NUMBER(1,0) DEFAULT 1 NOT NULL ENABLE'; exception when column_exists then null; end; \ No newline at end of file