I want to know whether it’s good practice to clean up migrations before launching because right now i have like 30 of them and some have only one line removing something i did in the past because it was wrong. I don’t mind resetting the database since there’s nothing of value there yet. Should I go for it?
You could collapse your migrations:
Collapsing Ecto Migrations. As with dead code, a migration file… | by Moxley Stratton | Medium.
Just collapse them as the other poster said. Export your DB schema and import it as one big migration and then start over from there.
This post would be helpful, too. Get Rid of Your Old Database Migrations – Andrea Leopardi