From 3e625ad57ae29a8d5ad95936401f0a5884751d63 Mon Sep 17 00:00:00 2001 From: gleimar Date: Thu, 21 Feb 2019 15:11:30 +0000 Subject: [PATCH] fixes bug#13649 dev:alberto qua:junia git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@90119 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20190221_1045__mantis13649.sql | 28 ------------------ .../V20190221_1205__mantis_13649_2.sql | 29 +++++++++++++++++++ 2 files changed, 29 insertions(+), 28 deletions(-) create mode 100644 src/db/migration/V20190221_1205__mantis_13649_2.sql diff --git a/src/db/migration/V20190221_1045__mantis13649.sql b/src/db/migration/V20190221_1045__mantis13649.sql index eb26cf532..a70896913 100644 --- a/src/db/migration/V20190221_1045__mantis13649.sql +++ b/src/db/migration/V20190221_1045__mantis13649.sql @@ -12,31 +12,3 @@ begin 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 diff --git a/src/db/migration/V20190221_1205__mantis_13649_2.sql b/src/db/migration/V20190221_1205__mantis_13649_2.sql new file mode 100644 index 000000000..db1199d9a --- /dev/null +++ b/src/db/migration/V20190221_1205__mantis_13649_2.sql @@ -0,0 +1,29 @@ + +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