Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you also have timestamped databases? How do you deal with schema changes between versions?


Most of our deploys don't have a schema change, and often when adding tables or columns the migration can be run before the new code is deployed. When dropping or renaming columns you'd usually need to first deploy code that is able to gracefully handle the migration.

However, sometimes it's not worth the extra code complexity and we just take the site down and migrate.




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

Search: