diff --git a/src/db/migration/V20190110_1555__mantis13108.sql b/src/db/migration/V20190110_1555__mantis13108.sql new file mode 100644 index 000000000..797b0dce6 --- /dev/null +++ b/src/db/migration/V20190110_1555__mantis13108.sql @@ -0,0 +1,23 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_SEGURO ADD INDVENDESEGUROOPCEMBARCADA 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_SEGURO ADD INDVENDESEGUROTABELAEMBARCADA 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_SEGURO ADD INDTAXAEMBARQUEEMBARCADA NUMBER (1,0) DEFAULT 1'; + exception when column_exists then null; +end; \ No newline at end of file