Re: [web2py] Re: A strange syntax error on updating a table row in a legacy db.

2010-10-14 Thread Ivan Matveev
Thank you Massimo, with KeyedTable I get the same errors. BUT if tables defined like this: db.define_table('cars',     Field('car_id','id'), #note 'id' type     Field('model_id','integer'),     migrate=False ) #note no primaykey everything works! I think it shell be int the docs in BIG le

[web2py] Re: A strange syntax error on updating a table row in a legacy db.

2010-10-11 Thread mdipierro
uploading fix to trunk. Please give it a try. On Oct 11, 5:45 pm, Ivan Matveev wrote: > Hi All! > > Dealing with a legacy db. > > the model: > > db.define_table('cars', >     Field('car_id','integer',writable=False), >     Field('model_id','integer'), >     primarykey=['car_id'], >     migrate=Fa