PLAY PODCASTS
Some reasons to write a down method in your migrations
Episode 84

Some reasons to write a down method in your migrations

No Compromises · Joel Clermont and Aaron Saray

October 3, 202314m 19s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

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.

Topics

laravelphp