diff --git a/src/db/migration/V20190118_1454__mantis13109.sql b/src/db/migration/V20190118_1454__mantis13109.sql new file mode 100644 index 000000000..7a18c6c78 --- /dev/null +++ b/src/db/migration/V20190118_1454__mantis13109.sql @@ -0,0 +1,18 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_CAT_IND ADD INDTOTALBUS NUMBER (1,0) DEFAULT 1'; + exception when column_exists then null; +end; + +/ + +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_CAT_IND ADD INDEMBARCADA NUMBER (1,0) DEFAULT 1'; + exception when column_exists then null; +end; +