db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@finemaltcoding.com>
Subject Re: sql/base/mysql/unique.vm
Date Thu, 16 Oct 2003 23:10:52 GMT
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: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message