From 0976fb7aca98c7066e3483bfe070968dec0b7131 Mon Sep 17 00:00:00 2001 From: gleimar Date: Thu, 21 Feb 2019 15:07:33 +0000 Subject: [PATCH] fixes bug#13649 dev:alberto qua:junia git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@90118 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20190221_1045__mantis13649.sql | 33 +++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/src/db/migration/V20190221_1045__mantis13649.sql b/src/db/migration/V20190221_1045__mantis13649.sql index 696532aa0..eb26cf532 100644 --- a/src/db/migration/V20190221_1045__mantis13649.sql +++ b/src/db/migration/V20190221_1045__mantis13649.sql @@ -6,8 +6,37 @@ declare begin - execute immediate 'ALTER TABLE VTABOL.TARIFA MODIFY TARIFA_ID NUMBER(10,0)'; + execute immediate 'ALTER TABLE TARIFA MODIFY TARIFA_ID NUMBER(10,0)'; exception when column_exists then null; -end; \ No newline at end of file +end; +/ +declare + + column_exists exception; + + pragma exception_init (column_exists , -01430); + +begin + + execute immediate 'ALTER TABLE TARIFA_CATEGORIA MODIFY TARIFA_ID NUMBER(10,0)'; + + exception when column_exists then null; + +end; +/ +declare + + column_exists exception; + + pragma exception_init (column_exists , -01430); + +begin + + execute immediate 'ALTER TABLE TARIFA_TIPOPTOVTA MODIFY TARIFA_ID NUMBER(10,0)'; + + exception when column_exists then null; + +end; +/ \ No newline at end of file