diff --git a/src/db/migration/V20220916_1019__AL-1355.sql b/src/db/migration/V20220916_1019__AL-1355.sql new file mode 100644 index 000000000..917a15a9e --- /dev/null +++ b/src/db/migration/V20220916_1019__AL-1355.sql @@ -0,0 +1,15 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CAJA_TARJETA ADD (SERIEFORMAPAGAMENTO VARCHAR(50))'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CAJA_TARJETA ADD (SUBSERIEFORMAPAGAMENTO VARCHAR(50))'; + exception when column_exists then null; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20220916_1019__AL-1355.sql b/src/db/postgresql/migration/V20220916_1019__AL-1355.sql new file mode 100644 index 000000000..917a15a9e --- /dev/null +++ b/src/db/postgresql/migration/V20220916_1019__AL-1355.sql @@ -0,0 +1,15 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CAJA_TARJETA ADD (SERIEFORMAPAGAMENTO VARCHAR(50))'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CAJA_TARJETA ADD (SUBSERIEFORMAPAGAMENTO VARCHAR(50))'; + exception when column_exists then null; +end; \ No newline at end of file