From 46bbefac10c405fa64254ebd0399e24751f1d800 Mon Sep 17 00:00:00 2001 From: valdevir Date: Tue, 17 Apr 2018 20:55:39 +0000 Subject: [PATCH] bug#10822 dev:valdevir qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@81075 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180411_1647__mantis10822.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20180411_1647__mantis10822.sql diff --git a/src/db/migration/V20180411_1647__mantis10822.sql b/src/db/migration/V20180411_1647__mantis10822.sql new file mode 100644 index 000000000..d8175f20e --- /dev/null +++ b/src/db/migration/V20180411_1647__mantis10822.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,''ADM > SEGURIDAD >> INTEGRACAOTOTVS'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.INTEGRACAOTOTVS'',1,sysdate,1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file