3 ms·
I can't believe anyone would do separate databases. Just wait until a migration doesn't run on 2 of your 400+ customer databases. Or multi-hour migrations.
by x0x0 5y ago
I can't believe anyone would do separate databases.
Just wait until a migration doesn't run on 2 of your 400+ customer databases. Or multi-hour migrations.
- rectang 5y agoWhen all customer data lives in the unified database: Just wait until a bug in a query exposes the data of customers to each other, creating instant regulatory and privacy nightmares for everyone.
- x0x0 5y agoWith an orm and customer objects to create scoped queries, I haven't found this to be a problem. It's also very easy to check in code reviews. And not a painful issue from, well, the lack of this happening given it's an extremely common app design.
- tedunangst 5y agoSounds good to me. Now you've got 398 happy customers on the new version, and a small scale issue to resolve with two customers.