Hacker News new | past | comments | ask | show | jobs | submit login

Glenjamin gave a great answer. I’ll just add that in my experience (being responsible for the team’s database, at a few companies over the years), down migrations are NEVER helpful when a migration goes wrong. Roll-forward is the only correct model. Besides, there are plenty of migrations that cant be safely rolled back, so most “down migrations” either destroy data or don’t work (or both.)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: