Deleting records from supabase_migrations.schema_migrations achiev

does deleting all the records fromsupabase_migrations.schema_migrations achieve the same results as npx supabase migration repair <version> --status reverted ? I couldnt do it from CLI due to connection issues, and I am trying to solve the mismatch between local and remote migrations history in order to run npx supabase db pull
1 Reply
ihm40
ihm408h ago
It should be the same thing though i have only done it from the cli before, given that the cli would at minimum delete those files i don't think there would be an issue doing it from the table. You can try it and provide feedback if there are any issues

Did you find this page helpful?