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