From 60259db07935be01a1027071c3d72ae3d55155cf Mon Sep 17 00:00:00 2001 From: julio Date: Fri, 7 Oct 2022 18:58:28 +0000 Subject: [PATCH] fixes bug#AL-1407 dev: Wallace qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@114650 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20221005_1432__AL1407.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20221005_1432__AL1407.sql diff --git a/src/db/migration/V20221005_1432__AL1407.sql b/src/db/migration/V20221005_1432__AL1407.sql new file mode 100644 index 000000000..bdd206bfb --- /dev/null +++ b/src/db/migration/V20221005_1432__AL1407.sql @@ -0,0 +1,8 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'INSERT INTO CONSTANTE (CONSTANTE_ID, NOMBCONSTANTE, DESCCONSTANTE, VALORCONSTANTE, INDTIPOCONSTANTE, INDMANTENIMIENTOUSUARIO, ACTIVO, FECMODIF, USUARIO_ID) + VALUES (CONSTANTE_SEQ.nextval, ''GENERACION_CORRIDA_APRIMORADA'', ''GENERACION_CORRIDA_APRIMORADA'', ''false'', ''1'', ''1'', ''1'', sysdate, ''1'')'; + exception when dup_val_on_index then null; +end; \ No newline at end of file