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
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
2 matches
Mail list logo