diff --git a/src/db/migration/V20180403_1129__mantis10801.sql b/src/db/migration/V20180403_1129__mantis10801.sql new file mode 100644 index 000000000..4b5b976be --- /dev/null +++ b/src/db/migration/V20180403_1129__mantis10801.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CONEXION_DESCUENTO ADD DESCUENTO_TASAEMBARQUE NUMBER(7,2)'; + exception when column_exists then null; +end; diff --git a/src/db/migration/V20180410_1044__mantis10801.sql b/src/db/migration/V20180410_1044__mantis10801.sql new file mode 100644 index 000000000..950b2390f --- /dev/null +++ b/src/db/migration/V20180410_1044__mantis10801.sql @@ -0,0 +1,8 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values + (funcion_sistema_seq.nextval,1,''RELATORIOS > RELATORIOS FINANCEIRO > VENDAS DE CONEXAO'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOVENDASCONEXAO'',1,sysdate,1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file