diff --git a/src/db/migration/V20170601_1355__mantis9052.sql b/src/db/migration/V20170601_1355__mantis9052.sql new file mode 100644 index 000000000..abd2b27fa --- /dev/null +++ b/src/db/migration/V20170601_1355__mantis9052.sql @@ -0,0 +1,16 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE ESQUEMA_CORRIDA_EMBRQ_DESEMBRQ ADD (EMBARQUE NUMBER(1,0), DESEMBARQUE NUMBER(1,0))'; + exception when column_exists then null; +end; +/ + +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE RUTA_EMBRQ_DESEMBRQ ADD (EMBARQUE NUMBER(1,0), DESEMBARQUE NUMBER(1,0))'; + exception when column_exists then null; +end; \ No newline at end of file