Skip to content

Commit

Permalink
fix: prevent postgres from mutating migration history
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Mar 19, 2024
1 parent 9e1e0bd commit 3ca5c3f
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
-- migrate:up
revoke supabase_auth_admin from postgres;
revoke all on table auth.schema_migrations from postgres;
grant select on table auth.schema_migrations to postgres;

revoke supabase_storage_admin from postgres;
revoke all on table storage.migrations from postgres;
grant select on table storage.migrations to postgres;

-- migrate:down

0 comments on commit 3ca5c3f

Please sign in to comment.