I have been developing an employee scheduling system in cakePHP. Now, as the application gets closer to the deployment stage I was told that my customer not only wants to use it for his company but also to sell the application service(as membership) for other companies. The application is pretty simple and the database right now is really straightforward. For now there are only 3 tables: employees, customers, schedules(each tuple holds empployeeId, customerId and the time spent at the customer). The employees and customers table will normally hold ~50 records each and the schedules might get up to 15k. I have never delt with anything of the kind and so I have some doubts about it. Should every company now have its own database? How to receive payments and grand/deny access?
Any comments, suggestions regarding the case and the best practices are more than welcome.