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
Is your feature request related to a problem? Please describe.
When running supabase db reset, the entire database is dropped. This can be an issue when working with other applications leveraging the same database but not leveraging the Supabase migrations (for example, PayloadCMS).
Describe the solution you'd like
Allow a "soft reset", where only the specified schemas should be reset, leaving any other schemas in the database intact.
Something like supabase db reset --schema public,some_other_schema
This would be similar to supabase db diff, supabase db dump or supabase db lint, which all accept a --schema flag.
Describe alternatives you've considered
Currently using a manual script to achieve this.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When running
supabase db reset
, the entire database is dropped. This can be an issue when working with other applications leveraging the same database but not leveraging the Supabase migrations (for example, PayloadCMS).Describe the solution you'd like
Allow a "soft reset", where only the specified schemas should be reset, leaving any other schemas in the database intact.
Something like
supabase db reset --schema public,some_other_schema
This would be similar to
supabase db diff
,supabase db dump
orsupabase db lint
, which all accept a--schema
flag.Describe alternatives you've considered
Currently using a manual script to achieve this.
The text was updated successfully, but these errors were encountered: