My team and I are building a SaaS product which is to be used by multiple businesses across the world. To put it simply, our software does some basic accounting for them and alerts them if some document is due for renewal.
The problem is, there may be just 3 such documents for each such company in India but 4 in Sri Lanka and 7 in Singapore. And each field may be named differently. For example, the three fields may be called "Drivers' License", "Insurance", "Permit" in India but they may be called "XYZ","XXYZ" and "XZY" in Singapore.
What is the best and most effective way to implement such features using MySQL. Let's say I can cap the number of such columns at 5. Also, I do not want to use NoSQL for this project.
We're using PHP running on CodeIgniter and we plan to deploy on Engineyard.