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