Xavier Maysonnave wrote:
The default template is the following :

#foreach ($unique in $table.Unices)
    UNIQUE ($unique.ColumnList),
#end

This doesn't work, It should rather be :

#foreach ($unique in $table.Unices)
    UNIQUE $unique.Name ($unique.ColumnList),
#end


It works fine with MySQL 3.23.x and 4.0.x (MySQL creates an index of the same name, as shown by "SHOW INDEX FROM [table name]"). What database/version are you seeing problems with?


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to