From 6e5904fbafe7b018d3f33e2e726312649be7cced Mon Sep 17 00:00:00 2001 From: wilian Date: Tue, 13 Dec 2016 18:10:08 +0000 Subject: [PATCH] bug #8396 bug #8389 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@63612 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20161209_1343__mantis8396.sql | 7 +++++++ src/db/migration/V20161213_1012__mantis8389.sql | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 src/db/migration/V20161209_1343__mantis8396.sql create mode 100644 src/db/migration/V20161213_1012__mantis8389.sql diff --git a/src/db/migration/V20161209_1343__mantis8396.sql b/src/db/migration/V20161209_1343__mantis8396.sql new file mode 100644 index 000000000..e88c24ed3 --- /dev/null +++ b/src/db/migration/V20161209_1343__mantis8396.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE FORMA_PAGO ADD (TIPO_PAGO NUMBER(2,0))'; + exception when object_exists then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20161213_1012__mantis8389.sql b/src/db/migration/V20161213_1012__mantis8389.sql new file mode 100644 index 000000000..59185085b --- /dev/null +++ b/src/db/migration/V20161213_1012__mantis8389.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE PACOTE_TARIFA ADD (INDVENDAWEB NUMBER(1,0) DEFAULT 1)'; + exception when object_exists then null; +end; \ No newline at end of file