From 4168154c42c7e0dec42f893e27e537f1188cd326 Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 1 Apr 2026 16:12:12 +0200 Subject: [PATCH] fix: add chat_histories grant to rls_and_grants migration --- migrations/100_rls_and_grants.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/migrations/100_rls_and_grants.sql b/migrations/100_rls_and_grants.sql index f1dabac..fa7d2f1 100644 --- a/migrations/100_rls_and_grants.sql +++ b/migrations/100_rls_and_grants.sql @@ -35,4 +35,8 @@ GRANT ALL ON TABLE public.agent_skills TO amcs; GRANT ALL ON TABLE public.project_skills TO amcs; GRANT ALL ON TABLE public.project_guardrails TO amcs; + +-- Chat Histories (018) +GRANT ALL ON TABLE public.chat_histories TO amcs; + GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO amcs; \ No newline at end of file