Re: [web2py] db manipulation

2012-02-22 Thread nils
Hi, Do you not need to specify a type='string' etc ? Regards, nils On Wed, Feb 22, 2012 at 7:16 PM, davidjensen wrote: > In db.py, I created a db 'contacts' with a table 'mytable'. I later > added a field 'date' to mytable. > > db.define_table('mytable', >    Field('date',requires=IS_NOT_EMPTY(

[web2py] db manipulation

2012-02-22 Thread davidjensen
In db.py, I created a db 'contacts' with a table 'mytable'. I later added a field 'date' to mytable. db.define_table('mytable', Field('date',requires=IS_NOT_EMPTY()), Field('name',requires=IS_NOT_EMPTY()), Field('organization'), Field('notes','text', requires=IS_NOT_EMPTY()) )