[symfony-users] Re: composite unique indices

2009-04-15 Thread Phil Moorhouse
Thanks, I thought i'd checked that section but obviously not. On 15 Apr, 08:20, naholyr wrote: > Add a _uniques property to your table : > > table: >   ... >   _uniques: >     unq_username_affiliate: [username, affiliate_id] > > Note : I could have honestly said "RTFM" > =>http://www.symfony-

[symfony-users] Re: composite unique indices

2009-04-15 Thread naholyr
Add a _uniques property to your table : table: ... _uniques: unq_username_affiliate: [username, affiliate_id] Note : I could have honestly said "RTFM" => http://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layer and look for "Indexes". On 14 avr, 17:09, Phil Moorhouse wrote: