You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I love views with RLS to reduce complex queries. I also like local development. When combining the two I always have to manually add the RLS part when pushing or pulling migrations.
To Reproduce
Steps to reproduce the behavior:
Create a view with RLS (security_invoker=true) remotely or localy.
pull or push
in the generated diff, the security_invoker is not always there (I have seen it sometime, but can't see why it won't show anymore)
Expected behavior
The full settings of the view should be diffed.
System information
Much love! I really enjoy supabase.
The text was updated successfully, but these errors were encountered:
Thanks for confirming. I will close this issue as a duplicate.
The fix requires updating the underlying diff tool from migra to pg-schema-diff. It will likely be addressed by this upstream PR when it's merged stripe/pg-schema-diff#132
Thanks for confirming. I will close this issue as a duplicate.
The fix requires updating the underlying diff tool from migra to pg-schema-diff. It will likely be addressed by this upstream PR when it's merged stripe/pg-schema-diff#132
Describe the bug
I love views with RLS to reduce complex queries. I also like local development. When combining the two I always have to manually add the RLS part when pushing or pulling migrations.
To Reproduce
Steps to reproduce the behavior:
security_invoker=true
) remotely or localy.security_invoker
is not always there (I have seen it sometime, but can't see why it won't show anymore)Expected behavior
The full settings of the view should be diffed.
System information
Much love! I really enjoy supabase.
The text was updated successfully, but these errors were encountered: