From ee62e26a7b1e439c07cdfcdd3984313a2738649b Mon Sep 17 00:00:00 2001 From: "daniel.zauli" Date: Tue, 3 Sep 2019 15:00:37 +0000 Subject: [PATCH] =?UTF-8?q?0015235:=20GLPI=2014791=20-=20CUPOM=20DE=20EMBA?= =?UTF-8?q?RQUE=20-=20inibir=20c=C3=B3digo=20de=20barras=20n=C3=A3o=20usad?= =?UTF-8?q?o=20bug#0015235=20dev:Wallace=20qua:Ju=20Gomes?= 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@97208 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20190830_1850__mantis15235.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/db/migration/V20190830_1850__mantis15235.sql diff --git a/src/db/migration/V20190830_1850__mantis15235.sql b/src/db/migration/V20190830_1850__mantis15235.sql new file mode 100644 index 000000000..146a5f85f --- /dev/null +++ b/src/db/migration/V20190830_1850__mantis15235.sql @@ -0,0 +1,15 @@ +declare + object_exists exception; + except_01451 exception; + except_01442 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_01451 , -01451); + pragma exception_init (except_01442 , -01442); +begin + execute immediate 'ALTER TABLE EMPRESA ADD (INDCODBARCPEMBARQUE NUMBER(1) default 1 )'; + exception + when object_exists then null; + when except_01451 then null; + when except_01442 then null; +end; \ No newline at end of file