See this recent discussion: 
https://groups.google.com/d/topic/web2py/tL8gnapo6fg/discussion

On Thursday, February 3, 2011 12:39:45 AM UTC-5, Dane wrote:

> Hello, 
>
> I have many fields defined like this: 
>
> Field('name','string', required=True, length=300, 
> requires=[IS_LENGTH(300)]), 
>
> where the VARCHAR length in MySQL is not being set properly. It is 
> defaulting to VARCHAR(255) for all strings regardless of my model 
> definitions. Is there something else I need to do or is this a bug in 
> the MySQL adapter? 
>
> Thanks. 
>
> -Dane

Reply via email to