diff --git a/src/db/migration/V20180215_1618__mantis10541.sql b/src/db/migration/V20180215_1618__mantis10541.sql new file mode 100644 index 000000000..b77e4ccaf --- /dev/null +++ b/src/db/migration/V20180215_1618__mantis10541.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CAJA ADD COO VARCHAR(6)'; + exception when column_exists then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20180215_1619__mantis10541.sql b/src/db/migration/V20180215_1619__mantis10541.sql new file mode 100644 index 000000000..4e9ea84ac --- /dev/null +++ b/src/db/migration/V20180215_1619__mantis10541.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BOLETO ADD COO VARCHAR(6)'; + exception when column_exists then null; +end; \ No newline at end of file