From e663cff1490cd3dc062f2fef478f23064bf473b2 Mon Sep 17 00:00:00 2001 From: wilian Date: Fri, 17 Feb 2017 19:18:28 +0000 Subject: [PATCH] fixes bug #8614 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@66034 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170210_1439__mantis8614.sql | 7 +++++++ src/db/migration/V20170210_1440__mantis8614.sql | 15 +++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/db/migration/V20170210_1439__mantis8614.sql create mode 100644 src/db/migration/V20170210_1440__mantis8614.sql diff --git a/src/db/migration/V20170210_1439__mantis8614.sql b/src/db/migration/V20170210_1439__mantis8614.sql new file mode 100644 index 000000000..2f8768a73 --- /dev/null +++ b/src/db/migration/V20170210_1439__mantis8614.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE BOLETO ADD (BOLETOANTERIOR_ID NUMBER(15,0))'; + exception when object_exists then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20170210_1440__mantis8614.sql b/src/db/migration/V20170210_1440__mantis8614.sql new file mode 100644 index 000000000..4a2512703 --- /dev/null +++ b/src/db/migration/V20170210_1440__mantis8614.sql @@ -0,0 +1,15 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE CAJA ADD ( + TRANSACAO_ID NUMBER(15,0), + TRANSACAOORIGINAL_ID NUMBER(15,0), + DESCNUMDOC VARCHAR2(45 BYTE), + DESCNUMDOC2 VARCHAR2(45 BYTE), + DESCTIPODOC VARCHAR2(15 BYTE), + DESCTIPODOC2 VARCHAR2(15 BYTE), + DESCTELEFONO VARCHAR2(15 BYTE) + )'; + exception when object_exists then null; +end; \ No newline at end of file