diff --git a/src/db/migration/V20200218_0930__mantis18330.sql b/src/db/migration/V20200218_0930__mantis18330.sql new file mode 100644 index 000000000..71cd0e005 --- /dev/null +++ b/src/db/migration/V20200218_0930__mantis18330.sql @@ -0,0 +1,6 @@ +declare +begin + execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values + (FUNCION_SISTEMA_SEQ.NEXTVAL,1,''ADM > CALCULO DE PRECO > ESTOQUE TAXA DE EMBARQUE W2I'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.ESQUEMAOPERACIONAL.ESTOQUEW2I'',1,SYSDATE,-1)'; + exception when others then null; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20200218_0930__mantis18330.sql b/src/db/postgresql/migration/V20200218_0930__mantis18330.sql new file mode 100644 index 000000000..fbef44d2c --- /dev/null +++ b/src/db/postgresql/migration/V20200218_0930__mantis18330.sql @@ -0,0 +1,6 @@ +DO $$ +BEGIN + insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values + (FUNCION_SISTEMA_SEQ.NEXTVAL,1,'ADM > CALCULO DE PRECO > ESTOQUE TAXA DE EMBARQUE W2I', 'COM.RJCONSULTORES.ADMINISTRACION.GUI.ESQUEMAOPERACIONAL.ESTOQUEW2I',1,SYSDATE,-1) + END +$$; \ No newline at end of file