From 3d2efc87647085da869de48d908f212c6ad75499 Mon Sep 17 00:00:00 2001 From: valdevir Date: Wed, 20 Mar 2019 20:09:22 +0000 Subject: [PATCH] fixes bug#12989 dev:Valdevir qua:Leonardo git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@90998 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20190125_1430__mantis12989.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/db/migration/V20190125_1430__mantis12989.sql b/src/db/migration/V20190125_1430__mantis12989.sql index 05cbf6215..a73f2fffe 100644 --- a/src/db/migration/V20190125_1430__mantis12989.sql +++ b/src/db/migration/V20190125_1430__mantis12989.sql @@ -4,9 +4,12 @@ declare begin execute immediate 'ALTER TABLE ESTACION ADD TIPOIMPRESSORARELATORIO NUMBER(2)'; exception when column_exists then null; - execute immediate 'COMMENT ON COLUMN ESTACION.TIPOIMPRESSORARELATORIO IS ''1-A4, 2-Térmica'''; end; / +begin + execute immediate 'COMMENT ON COLUMN ESTACION.TIPOIMPRESSORARELATORIO IS ''1-A4, 2-Térmica'''; +end +/ declare object_exists exception; pragma exception_init (object_exists , -00001);