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?
1 Like
You could collapse your migrations:
Collapsing Ecto Migrations. As with dead code, a migration file… | by Moxley Stratton | Medium.
7 Likes
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.
1 Like