Some reasons to write a down method in your migrations

03/10/2023 14 min Episodio 84
Some reasons to write a down method in your migrations

Listen "Some reasons to write a down method in your migrations"

Episode Synopsis


This is a surprisingly controversial topic. In this episode, we share why we write down migration methods, and it's probably not the reason you're thinking of.(00:00) - Is writing down migration methods just a weird habit?

(02:30) - A deploy that goes horribly wrong immediately

(03:45) - Rolling forward due to database engine limitations

(05:00) - How long is too long to rollback?

(06:30) - Another use case: switching branches

(08:30) - A mental unit test for your logic

(12:35) - Silly bit
No call to action on this episode, just go enjoy some quiet time to yourself.