1
I am making a system in Laravel, but this system will serve several users, and these users can register their customers.
The big question is, so that it doesn’t stay all in a single database, I thought every time the user registers in the application, create a new database, and within that database run the tables Migrations.
However each user, will be able to register their customers and these customers will have user and password, in the login I would have to pass bank to bank to know which bank that customer is to do the authentication... so I no longer found a legal practice, another option is to ask for an identifier when logging in, but I don’t think it would be good practice as well.
The last option is to create a single database with all the data, only the tables would become giant...
Some architect could give me a light?
You can use a table called Network where this network is referenced in all other tables or password, usersRede and it would have the network id and the user id, so it would not be giant tables
– Julio Henrique