indexes:
project_name:
fields: name
type: unique
With multiple fields:
indexes:
project_name:
fields: [name, field_2, etc]
type: unique
Bertrand
Le 10 août 07 à 12:06, gimler a écrit :
> 2. how can i define a multicolumn unique value? This not work ;(
> # uniques:
> # project_name:
> # fields: [ name ]
> # project_stripped:
> # fields: [ stripped_name ]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---