diff --git a/src/db/migration/V20211122_1622__mantis22719.sql b/src/db/migration/V20211122_1622__mantis22719.sql new file mode 100644 index 000000000..ad8cc1f61 --- /dev/null +++ b/src/db/migration/V20211122_1622__mantis22719.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE INSCRICAO_ESTADUAL ADD NUMINSCRICAOMUNICIPAL VARCHAR(15) DEFAULT ''ISENTO'' NOT NULL' ; + exception when column_exists then null; +end; \ No newline at end of file