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