diff --git a/src/db/migration/V20170622_1417__mantis9182.sql b/src/db/migration/V20170622_1417__mantis9182.sql new file mode 100644 index 000000000..08b2b2d8d --- /dev/null +++ b/src/db/migration/V20170622_1417__mantis9182.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BOLETO ADD (MOTIVODEVOLUCAOBILHETE_ID NUMBER(7))'; + exception when column_exists then null; +end; diff --git a/src/db/migration/V20170623_1500__mantis9182.sql b/src/db/migration/V20170623_1500__mantis9182.sql new file mode 100644 index 000000000..501a718ce --- /dev/null +++ b/src/db/migration/V20170623_1500__mantis9182.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE MOTIVO_DEVOLUCAO_BILHETE ADD (TXTRELATORIO VARCHAR2(100))'; + exception when object_exists then null; +end; \ No newline at end of file