1 year ago

Table sets by user, access to them - Mulitenancy?

Posted 1 year ago by dan3460

Starting a new project that requires that the data for each company is kept on its own set of tables. For example, when a company is created it will be a products table that is unique to that company. I think i can handle the creating of the set of tables for each company, the names will be prefixed by the company number, for example 001_products, 001_customers, etc. How would you access the tables from Laravel?

Please sign in or create an account to participate in this conversation.