Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

security_invoker on views is ignored #86

Open
sweatybridge opened this issue Apr 14, 2023 · 1 comment
Open

security_invoker on views is ignored #86

sweatybridge opened this issue Apr 14, 2023 · 1 comment

Comments

@sweatybridge
Copy link

  1. Define a view with security_invoker=on
  2. Run migra schema diff
  3. security_invoker clause is not included in output

More reproducible example here supabase/cli#792

@andwrobs
Copy link

+1 — definitely not expected behavior when using the tool, and essential to use views in standard setup alongside tables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants