Answer the question
In order to leave comments, you need to log in
How to split a project into branches?
Greetings.
I think not only I am worried about this question, I did not find any open answers.
There is a task to expand the online store, it is written in Laravel 5.8 and the database in mongoDB.
It is necessary to make a division into branches.
That is, there is one branch in each city, and each branch has its own set of goods and its own data in the admin panel.
Who faced similar, what thoughts on creation of a DB are?
Answer the question
In order to leave comments, you need to log in
It seems easier than a steamed turnip. Create a branch
table (id, name). And in other tables, where it is required, define foreign keys on the id field in the branch table .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question