DiscoverNo CompromisesSome reasons to write a down method in your migrations
Some reasons to write a down method in your migrations

Some reasons to write a down method in your migrations

Update: 2023-10-03
Share

Description

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.
Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Some reasons to write a down method in your migrations

Some reasons to write a down method in your migrations

Joel Clermont and Aaron Saray