Re: [web2py] varchar size in database

2012-09-25 Thread yashar
thanks On Tuesday, September 25, 2012 3:22:54 PM UTC+3:30, Marin Pranjić wrote: > > Field(..., length=255, ...) > > Marin > > On Tue, Sep 25, 2012 at 1:28 PM, yashar >wrote: > >> my database is postgres and i'm using this: >> >> Field('name',required=IS_LENGTH(255)); >> >> but it creates a varchar

Re: [web2py] varchar size in database

2012-09-25 Thread Marin Pranjić
Field(..., length=255, ...) Marin On Tue, Sep 25, 2012 at 1:28 PM, yashar wrote: > my database is postgres and i'm using this: > > Field('name',required=IS_LENGTH(255)); > > but it creates a varchar(512) in database, > > , how could i fix it? > > -- > > > > --

[web2py] varchar size in database

2012-09-25 Thread yashar
my database is postgres and i'm using this: Field('name',required=IS_LENGTH(255)); but it creates a varchar(512) in database, , how could i fix it? --