File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
internal/migration/format Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -691,7 +691,7 @@ func appendConfig(fsys afero.Fs) error {
691691 if err != nil && ! errors .Is (err , os .ErrNotExist ) {
692692 return errors .Errorf ("failed to read config: %w" , err )
693693 }
694- if newConfig := pattern .ReplaceAllLiteral (data , []byte (schemaPaths )); ! bytes .Equal ( data , newConfig ) {
694+ if newConfig := pattern .ReplaceAllLiteral (data , []byte (schemaPaths )); bytes .Contains ( newConfig , [] byte ( schemaPaths ) ) {
695695 return utils .WriteFile (utils .ConfigPath , newConfig , fsys )
696696 }
697697 // Fallback to append
Original file line number Diff line number Diff line change @@ -87,19 +87,12 @@ var (
8787 "anon" ,
8888 "authenticated" ,
8989 "authenticator" ,
90+ "cli_login_.*" ,
9091 "dashboard_user" ,
9192 "pgbouncer" ,
9293 "postgres" ,
9394 "service_role" ,
94- "supabase_admin" ,
95- "supabase_auth_admin" ,
96- "supabase_etl_admin" ,
97- "supabase_functions_admin" ,
98- "supabase_read_only_user" ,
99- "supabase_realtime_admin" ,
100- "supabase_replication_admin" ,
101- "supabase_storage_admin" ,
102- "supabase_superuser" ,
95+ "supabase_.*" ,
10396 // Managed by extensions
10497 "pgsodium_keyholder" ,
10598 "pgsodium_keyiduser" ,
You can’t perform that action at this time.
0 commit comments