
76: Safe Ecto Migrations with David Bernheisel
Thinking Elixir Podcast
00:00
How to Delet a Big Lot of Migrations Safely?
Mark: I think it is safe to put a straight sequel into and execute, you know, just gust, go straight to the adaptor and execute straight up sequel. That sequel should never change at that moment of time. If it's time stamped correctly, when the scheme looks like that, that should always work. Don't use schemes inside of your ap code. It would be naive to think that it's never going to change,. And even if you're like, a hundred % sure it'sNever going to change, this is some code play,you know, plaything, it's still a good practice. You can delete long series of migrations safely if you dump your structure
Transcript
Play full episode