|
|
|
|
|
by bananas
4481 days ago
|
|
Look up the following terms 1. SaaS tenancy models. This is the data separation. 2. Custom fields would be usually represented as an EAV model (Entity-Attribute-Value). 3. Don't ALTER in production if you can help it. If you're going to do it, use migrations which are scripts which first add columns, then transform data, then reapply constraints. |
|
From what I've seen, applications that use EAV tend to evolve to suffer from bad cases of the "inner platform effect":
http://en.wikipedia.org/wiki/Inner-platform_effect
NB There is nothing "wrong" with using EAV - just that it seems prone to misuse (a bit like XML).