diff --git a/src/db/migration/V20170720_1800__mantis9425.sql b/src/db/migration/V20170720_1800__mantis9425.sql new file mode 100644 index 000000000..4ba349836 --- /dev/null +++ b/src/db/migration/V20170720_1800__mantis9425.sql @@ -0,0 +1,11 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE DADOS_ESTORNO_CARTAO add TIPOCARTAO VARCHAR2(66)'; + execute immediate 'ALTER TABLE DADOS_ESTORNO_CARTAO add CORRIDA_ID NUMBER(22)'; + execute immediate 'ALTER TABLE DADOS_ESTORNO_CARTAO add FECCORRIDA DATE'; + execute immediate 'ALTER TABLE DADOS_ESTORNO_CARTAO add PUNTOVENTA_ID NUMBER(22)'; + execute immediate 'ALTER TABLE DADOS_ESTORNO_CARTAO add MARCA_ID NUMBER(22)'; + exception when object_exists then null; +end; \ No newline at end of file