fixes bug#20410

qua:
dev:Valdir

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@104030 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdevir 2020-10-28 19:20:48 +00:00
parent 4eee290aaf
commit fee54c60c6
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
declare
begin
execute immediate 'INSERT INTO CUSTOM (CUSTOM_ID, SISTEMA, CHAVE, VALOR, ACTIVO, FECMODIF, USUARIO_ID)
VALUES (CUSTOM_SEQ.nextval, 3, ''isBloqueiaReimpressaoPontoVendaW2i'', ''false'', 1, sysdate, 1)';
VALUES (CUSTOM_SEQ.nextval, 2, ''isBloqueiaReimpressaoPontoVendaW2i'', ''false'', 1, sysdate, 1)';
exception when others then null;
end;

View File

@ -1,7 +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)
VALUES (nextval('CUSTOM_SEQ').nextval, 2, 'isBloqueiaReimpressaoPontoVendaW2i', 'false', 1, now(), 1)
EXCEPTION WHEN unique_violation THEN NULL;
END
$$;