News for hackers. Stuff that matters.
Re:Elixir for Humans Who Know Python by bostonvaulter2 on Saturday February 25, 2023 @05:42PM (#34941199)
Hmmm, if we’re willing to accept a dependency on git than it might be interesting to write a `mix ecto.migration.rerun` that rolled back any migrations that are untracked or dirty according to git, then re-ran them. That would simplify a pain point I encounter when I’m iterating on a migration because sometimes I rollback too far accidentally and finding the right argument to rollback feels like a chore. The nice thing is that could be prototypes outside of ecto quite easily.

There are no comments on this comment yet.