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

At my company, DB migrations on startup was a flag that was enabled for local development and disabled for production deploys. Some teams had it enabled for staging/pre-production deploys, and a few teams had it turned on for production deploys (although those teams only had infrequent, minor changes like adding a new column).

Personally I found the idea of having multiple instances running the same schema update job at the same time (even if locks would keep it from running in practice) to be concerning so I always had it disabled for deploys.



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

Search: