some forgotten details

This commit is contained in:
2022-03-31 16:19:36 +02:00
parent 4391cc1d8b
commit 2be6a6e140
2 changed files with 8 additions and 2 deletions

View File

@ -118,3 +118,9 @@ CREATE TRIGGER maintain_ledger_trigger
FOR EACH ROW
WHEN (NEW.account != 1000 AND NEW.account_entry_category NOT IN (3, 4))
EXECUTE FUNCTION maintain_ledger();
grant select, update on account_entry_reference_t_id_seq to hv2;
grant insert on account_entry_reference_t to hv2;
grant update on account_entry_t to hv2;