symfony many to many
-
15-01-2022 - |
Question
I'm looking at creating the following scenario.
- I have many templates
- I have many users (sfGuardUser)
- I want it so when I edit a template, I can assign many users to a particular.
Am I correct in thinking I'll need 3 tables in my schema?
Template
User
TemplateUser
and define the relations within these?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow