diff --git a/src/db/migration/V20180416_1630__mantis10901.sql b/src/db/migration/V20180416_1630__mantis10901.sql new file mode 100644 index 000000000..83935cd6c --- /dev/null +++ b/src/db/migration/V20180416_1630__mantis10901.sql @@ -0,0 +1,9 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA ADD (CNAE VARCHAR2(7))'; + execute immediate 'ALTER TABLE EMPRESA ADD (TARBPE VARCHAR2(20))'; + execute immediate 'ALTER TABLE EMPRESA ADD (CRTBPE NUMBER(1))'; + exception when column_exists then null; +end;