diff --git a/src/db/migration/V20161130_1731__mantis8314.sql b/src/db/migration/V20161130_1731__mantis8314.sql new file mode 100644 index 000000000..5e62ea419 --- /dev/null +++ b/src/db/migration/V20161130_1731__mantis8314.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE MOTIVO_CANCEL_VENDA_PACOTE ADD (PORCMULTA NUMBER(5,2) DEFAULT 0 NOT NULL)'; + exception when column_exists then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20161201_1402__mantis8316.sql b/src/db/migration/V20161201_1402__mantis8316.sql new file mode 100644 index 000000000..ca54223ef --- /dev/null +++ b/src/db/migration/V20161201_1402__mantis8316.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE TARIFA_VENDA_PACOTE ADD (USUARIO_CANCELAMENTO_ID NUMBER(7,0), MOTIVOCANCELVENDAPACOTE_ID NUMBER(7,0), INDCANCELADO NUMBER(1,0), DATACANCELAMENTO DATE)'; + exception when column_exists then null; +end; \ No newline at end of file