diff --git a/src/db/migration/V20170214_1034__mantis8613.sql b/src/db/migration/V20170214_1034__mantis8613.sql new file mode 100644 index 000000000..c1e4890eb --- /dev/null +++ b/src/db/migration/V20170214_1034__mantis8613.sql @@ -0,0 +1,8 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'ALTER TABLE AG_CONTAS_PAGAR ADD (ISSBASE NUMBER(12,2))'; + execute immediate 'ALTER TABLE AG_CONTAS_PAGAR ADD (ISSVALOR NUMBER(12,2))'; + exception when dup_val_on_index then null; +end; diff --git a/src/db/migration/V20170214_1121__mantis8613.sql b/src/db/migration/V20170214_1121__mantis8613.sql new file mode 100644 index 000000000..3ef088dd2 --- /dev/null +++ b/src/db/migration/V20170214_1121__mantis8613.sql @@ -0,0 +1,10 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'ALTER TABLE AG_CONTAS_PAGAR ADD (COMPETENCIA VARCHAR2(10))'; + exception when dup_val_on_index then null; +end; + + + diff --git a/src/db/migration/V20170215_1630__mantis8613.sql b/src/db/migration/V20170215_1630__mantis8613.sql new file mode 100644 index 000000000..0469ba2a7 --- /dev/null +++ b/src/db/migration/V20170215_1630__mantis8613.sql @@ -0,0 +1,7 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'ALTER TABLE AG_CONTAS_PAGAR MODIFY (FORNECEDOR VARCHAR2(30))'; + exception when dup_val_on_index then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20170215_1755__mantis8613.sql b/src/db/migration/V20170215_1755__mantis8613.sql new file mode 100644 index 000000000..295e9b17b --- /dev/null +++ b/src/db/migration/V20170215_1755__mantis8613.sql @@ -0,0 +1,7 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'ALTER TABLE AG_CONTAS_PAGAR ADD (COMISSAO_ID NUMBER(7))'; + exception when dup_val_on_index then null; +end; \ No newline at end of file