Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update www/_blog/2021-03-31-supabase-cli.mdx

Steve Chavezf18cc485a097
diff --git a/www/_blog/2021-03-31-supabase-cli.mdx b/www/_blog/2021-03-31-supabase-cli.mdx
index fdb87151086..3b6405b8dcd 100644
--- a/www/_blog/2021-03-31-supabase-cli.mdx
+++ b/www/_blog/2021-03-31-supabase-cli.mdx
@@ -129,7 +129,7 @@ We found that the most complete one was the pgAdmin Schema Diff, migra came a cl
The deciding factor was if the tool could track a owner change for a VIEW.
```sql
-ALTER VIEW my_view OWNER authenticated;
+ALTER VIEW my_view OWNER TO authenticated;
```
This is critical for Row Level Security to work with views. For policies to kick in on views, the owner must not have `superuser` or `bypassrls` privileges. Currently migra doesn't track this change ([issue](https://github.com/djrobstep/migra/issues/160)), while the pgAdmin Schema Diff does.