Hello,
In one of my tables, I want to increase the length of a string field.
Hence I added a length parameter to the Field. Now, I am getting the
following error:

Traceback (most recent call last):  File "/usr/lib/web2py/gluon/
restricted.py", line 178, in restricted    exec ccode in environment
File "/usr/lib/web2py/applications/deals/models/db.py", line 145, in
<module>    Field("CRE_TIME", "datetime", default=timestamp),
fake_migrate=settings.fakeMigrate)  File "/usr/lib/web2py/gluon/
sql.py", line 1309, in define_table    t._create(migrate=migrate,
fake_migrate=fake_migrate)  File "/usr/lib/web2py/gluon/sql.py", line
1775, in _create    fake_migrate=fake_migrate)  File "/usr/lib/web2py/
gluon/sql.py", line 1811, in _migrate    not (self[key].type[:
10]=='reference ' and \  File "/usr/lib/web2py/gluon/sql.py", line
1592, in __getitem__    return dict.__getitem__(self,
str(key))KeyError: 'offer_description

Please help.

--
Thanks
Narendran

Reply via email to