> "<column name="stripped_title" type="varchar" size="255" />
> <unique name="unique_stripped_title">
> <unique-column name="stripped_title" />
> </unique>"
The simpliest YAML equivalent would be :
stripped_title: { type: varchar(255), index: unique }
You can be more precise in the definition of your indexes using this
syntax :
stripped_title: varchar(255)
uniques:
unique_stripped_title: [stripped_title]
You can therefore use multiple-field indexes, and you can also use
"indexes" (same usage as "uniques") to define simple indexes
(performance tuning).
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---