vendredi 11 mars 2016

Creating a new database for each signup, is it possible Laravel 5

Currently working on a project that I don’t want to mix all users data in the same database, so I am trying to create a new Database upon each Sign up.

Thought I would be able to find such a thing online but wasn’t really able to find anything other than multi-tenant.

So the question here is:

  1. Is it possible to create a new database for each user when they signup?
  2. Is it going to reduce the performance of the website?
  3. Would multi-tenant be a better approach to my problem?
  4. Is multi-tenant a more secure approach or separated database more secure, and would I be able to edit the tables because I might need to alter the tables in the future ?


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire