Hi, I have a table with the fields "username" and "affiliate_id"

I need to specify the pairing as unique, i.e.

username | affiliate_id
bob_smith, 1
bob_smith, 2
frank_thomas, 3
jessica_murphy, 2

are allowed, but a second

bob_smith, 2

would not be.

How do I format this in schema.yml? (for Propel)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to