diff --git a/src/db/migration/V20170520_1227__mantis9087.sql b/src/db/migration/V20170520_1227__mantis9087.sql deleted file mode 100644 index 9f0d6c9a3..000000000 --- a/src/db/migration/V20170520_1227__mantis9087.sql +++ /dev/null @@ -1,13 +0,0 @@ -declare - object_exists exception; - pragma exception_init (object_exists , -00955); -begin - begin - execute immediate 'ALTER TABLE PRICING_ESPECIFICO ADD (EXIBEVENDA NUMBER(1,0))'; - exception when object_exists then null; - end - begin - execute immediate 'ALTER TABLE PRICING ADD (EXIBEVENDA NUMBER(1,0))'; - exception when object_exists then null; - end -end; \ No newline at end of file diff --git a/src/db/migration/V20170524_1500__mantis9087.sql b/src/db/migration/V20170524_1500__mantis9087.sql new file mode 100644 index 000000000..bbd44e243 --- /dev/null +++ b/src/db/migration/V20170524_1500__mantis9087.sql @@ -0,0 +1,16 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE PRICING_ESPECIFICO ADD (EXIBEVENDA NUMBER(1,0))'; + exception when object_exists then null; +end; +/ + +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE PRICING ADD (EXIBEVENDA NUMBER(1,0))'; + exception when object_exists then null; +end; \ No newline at end of file