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

This is a pretty huge deal in some uses cases. It makes undoing a bad migration trivial.



Manually cleaning up a bad migration fucking sucks. The best you can do is make migrations idempotent in both directions.


Making migrations idempotent in both directions — when you can — is generally a good idea anyway.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: