Hi,
No This is MySQL. And I didn't change the field type.
I am sending the model to you in another mail.

On Aug 16, 11:34 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> can you post the model? is this sqlite? did you also change the field
> type?
>
> On Aug 16, 11:39 am,Narendran<gunanar...@gmail.com> wrote:
>
>
>
>
>
>
>
> > 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