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