From da5720e409763f4f6d764a5030c52e0f615358e2 Mon Sep 17 00:00:00 2001 From: "thiago.clemente" Date: Thu, 26 Sep 2019 19:49:48 +0000 Subject: [PATCH] fixes bug#15910 dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@97887 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20190926_1215__mantis15910.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/db/migration/V20190926_1215__mantis15910.sql diff --git a/src/db/migration/V20190926_1215__mantis15910.sql b/src/db/migration/V20190926_1215__mantis15910.sql new file mode 100644 index 000000000..209f46253 --- /dev/null +++ b/src/db/migration/V20190926_1215__mantis15910.sql @@ -0,0 +1,13 @@ +declare + object_exists exception; + except_00957 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE CLIENTE_DESCUENTO RENAME COLUMN INDFORMAVALIDACIONESTUDIATNTE TO INDFORMAVALIDACIONESTUDIANTE'; + + exception + when object_exists then null; + when except_00957 then null; +end; \ No newline at end of file