KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I Want to create a unique constraints on two attributs. The YML configuration with Doctrine2 isn't well documented. So I try to traduct the XML in YML. What's wrong with this code? unique-constraints: name: event_user columns: event_id: ~ user_id: ~ Thanks in advance.
Tags (comma-separated)
Save Edits
Cancel