diff --git a/src/db/migration/V20180823_1430__pafecf.sql b/src/db/migration/V20180823_1430__pafecf.sql new file mode 100644 index 000000000..13e2bee23 --- /dev/null +++ b/src/db/migration/V20180823_1430__pafecf.sql @@ -0,0 +1,27 @@ +declare + + column_exists exception; + + pragma exception_init (column_exists , -01430); + +begin + + execute immediate 'ALTER TABLE FISCAL_J1 ADD (HASHVTA VARCHAR2(32 BYTE), HASHBD VARCHAR2(32 BYTE))'; + + exception when column_exists then null; + +end; +/ +declare + + column_exists exception; + + pragma exception_init (column_exists , -01430); + +begin + + execute immediate 'ALTER TABLE FISCAL_J2 ADD (HASHVTA VARCHAR2(32 BYTE), HASHBD VARCHAR2(32 BYTE))'; + + exception when column_exists then null; + +end; \ No newline at end of file