3 ms·
Do you also have timestamped databases? How do you deal with schema changes between versions?
by scotth 16y ago
Do you also have timestamped databases? How do you deal with schema changes between versions?
- deleted 16y ago[deleted]
- mnutt 16y agoMost 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.