admin 4/12/2021 | |
This question makes total sense. The idea is somehow to tell what tenant the current user belongs to. One approach is to do that based on the username. Check this article that explains all the details: SaaS application design . All users will be stored in the same common database and when they edit their user profile it will be edited in the common database. The secomd approach is to create a subdomain for each tenant like tenant1.website.com, tenant2.website.com etc. In this case you can use subdomain name to figure out the database name and each tenant's database can have their own users table. |
L
|
Lance Spurgeon author 4/14/2021 |
Sorry to reopen this. If I wanted both solutions would I need Enterprise for this or can this be done with the standard PHPRunner? |
admin 4/14/2021 | |
Both solutions will require Enterprise Edtion. In either case you need a common database where clients sign up, where you store all their data and billing info and all kind of common data. Then you would need a separate database for each clients data. |
L
|
Lance Spurgeon author 4/14/2021 |
thank you so much, i will have to get the upgrade |