From 6c7b00da0f6beb4f68555fec304bc66ad6cfa3bb Mon Sep 17 00:00:00 2001 From: "daniel.zauli" Date: Tue, 3 Sep 2019 15:12:09 +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@97209 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../postgresql/migration/V20190830_1850__mantis15235.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/postgresql/migration/V20190830_1850__mantis15235.sql diff --git a/src/db/postgresql/migration/V20190830_1850__mantis15235.sql b/src/db/postgresql/migration/V20190830_1850__mantis15235.sql new file mode 100644 index 000000000..0660f96b2 --- /dev/null +++ b/src/db/postgresql/migration/V20190830_1850__mantis15235.sql @@ -0,0 +1,7 @@ +DO $$ +BEGIN + ALTER TABLE EMPRESA ADD INDCODBARCPEMBARQUE NUMERIC(1) DEFAULT 1; + + EXCEPTION WHEN duplicate_column THEN NULL; +END +$$; \ No newline at end of file