From 7c696a05f601d089031148e7470c0eff04ca0a7c Mon Sep 17 00:00:00 2001 From: wilian Date: Sun, 4 Dec 2016 12:54:17 +0000 Subject: [PATCH] fixes bug #8316 fixes bug #8314 fixes bug #8312 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@63168 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20161130_1731__mantis8314.sql | 7 +++++++ src/db/migration/V20161201_1402__mantis8316.sql | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 src/db/migration/V20161130_1731__mantis8314.sql create mode 100644 src/db/migration/V20161201_1402__mantis8316.sql 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