From 493340280c25c5fe05aec3d7cacc69463d2bf35e Mon Sep 17 00:00:00 2001 From: valdevir Date: Thu, 9 Feb 2017 12:56:11 +0000 Subject: [PATCH] fixes bug #8371 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@65765 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20170203_1428__mantis8371.sql | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/db/migration/V20170203_1428__mantis8371.sql diff --git a/src/db/migration/V20170203_1428__mantis8371.sql b/src/db/migration/V20170203_1428__mantis8371.sql new file mode 100644 index 000000000..50c9d2445 --- /dev/null +++ b/src/db/migration/V20170203_1428__mantis8371.sql @@ -0,0 +1,26 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'Insert into CONSTANTE ( + CONSTANTE_ID, + NOMBCONSTANTE, + DESCCONSTANTE, + INDTIPOCONSTANTE, + VALORCONSTANTE, + INDMANTENIMIENTOUSUARIO, + ACTIVO, + FECMODIF, + USUARIO_ID) +values ( + CONSTANTE_SEQ.nextval, + ''HORA_EXEC_CONFERENCIA_MOVIMENTO'', + ''HORA_EXEC_CONFERENCIA_MOVIMENTO'', + 1, + ''03:00'', + 1, + 1, + sysdate, + 1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file