Open rela589n opened 4 years ago
Your first table, (many-to-many on freelancersApplied)
<join-table name="proposals">
Your second table
<entity name="App\Entities\Proposal" table="proposals">
I would suggest renaming your many-to-many table to something like proposals_freelancers
.
- <join-table name="proposals">
+ <join-table name="proposals_freelancers">
But it should be the same table
I get next error when try to do
pa doctrine:schema:update
Customer:
Freelancer:
Job:
Proposal:
Or is there way to explicitly define intermediate entity for many-to-many relationship?