|
|
|
|
|
by lemiffe
2218 days ago
|
|
We use a database per account, it is necessary for some ISO (and other) certifications to have single-tenant DBs. Of course this requires a bunch of extra tooling, like upgrade scripts that don't ALTER tables directly but rather lock-copy-delete-rename, etc. There are many tools out there which help out with this, and whatever we couldn't find we built ourselves. Tools like JOOQ can update code entities based on the database, so a database-first approach is what we used, but you can go either way. The benefit of this approach is ultimately security and less multi-tenant catastrophes leaking data from customers, etc. |
|