Database design: when in doubt - use meta tables
It’s becoming quiet intriguing when you work with the 3rd party closed-source projects. You can see how the project was maturing, and how things were changing on the fly. Especially when you have to plug in some extra logic on top of it, and the code is obfuscated, so the only way how to find all ins and outs - check the database schema. Certain systems force to develop evil workarounds to coupe with bad design practices, whether it’s code or database wise....