From 4eee290aafe718e570a4ec9d48fa2872c020a070 Mon Sep 17 00:00:00 2001 From: valdevir Date: Wed, 28 Oct 2020 18:42:25 +0000 Subject: [PATCH] fixes bug#20288 qua: dev:Valdir git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@104025 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../postgresql/migration/V20201028_1525__mantis20288.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/postgresql/migration/V20201028_1525__mantis20288.sql diff --git a/src/db/postgresql/migration/V20201028_1525__mantis20288.sql b/src/db/postgresql/migration/V20201028_1525__mantis20288.sql new file mode 100644 index 000000000..3720a81af --- /dev/null +++ b/src/db/postgresql/migration/V20201028_1525__mantis20288.sql @@ -0,0 +1,7 @@ +DO $$ +BEGIN + INSERT INTO CUSTOM (CUSTOM_ID, SISTEMA, CHAVE, VALOR, ACTIVO, FECMODIF, USUARIO_ID) + VALUES (CUSTOM_SEQ.nextval, 3, 'isBloqueiaReimpressaoPontoVendaW2i', 'false', 1, sysdate, 1) + EXCEPTION WHEN unique_violation THEN NULL; +END +$$;