I had the same issue, what I did was create a library (eloquent model) that handles all those things. Just like you mentioned.
Hi ruk33!! Thanks for your answer!
Do you Have any problems with migrations?
You're welcome. No I didn't. You shouldn't have any problems with migrations though (at least I can't imagine one now).
Yes, just define the same Eloquent model again in project #2.
To be on the safe side though, you should create and execude the migration-files only from one project's context.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community