Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Supabase CLI diff isn't fetching RLS policies - Supabase
S
Supabase
•
3y ago
Napolean_Solo
Supabase CLI diff isn't fetching RLS policies
Hi
,
Basically I am following this for migrating my database
:
https://supabase.com/docs/guides/platform/migrating-and-upgrading-projects
The issue is when I run this command
:
supabase db diff --linked --schema auth,storage > changes.sql
supabase db diff --linked --schema auth,storage > changes.sql
The CLI is only fetching triggers and also completely ignoring fetching the RLS policies
.
Can someone please explain what
's wrong
?
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Supabase - RLS Policies Issues
S
Supabase / help-and-questions
13mo ago
Supabase and Prisma RLS policies
S
Supabase / help-and-questions
3y ago
RLS policies
S
Supabase / help-and-questions
13mo ago
Supabase RBAC and RLS policies performance
S
Supabase / help-and-questions
3y ago