diff --git a/src/db/migration/V20180521_1219__mantis10747.sql b/src/db/migration/V20180521_1219__mantis10747.sql new file mode 100644 index 000000000..ad02edbc7 --- /dev/null +++ b/src/db/migration/V20180521_1219__mantis10747.sql @@ -0,0 +1,8 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_SEGURO ADD ( INDVENDSEGTABELA NUMBER(1, 0) DEFAULT 0 )'; + execute immediate 'ALTER TABLE PTOVTA_SEGURO ADD ( INDESTANSEGTABELA NUMBER(1, 0) DEFAULT 0 )'; + exception when column_exists then null; +end; \ No newline at end of file