Please check if this is fixed in trunk.

On Jul 13, 2010, at 1:11 AM, Rāma wrote:

Hi Massimo,

I got this error when trying to rename a field from enrollable_by_Guest to enrollable_by_guest I am not sure wether it's suppose to behave that way. But, now it seems I can't rename it to the one I want (smallcaps) anymore.

Regards,
Ranjeev

Traceback (most recent call last):
File "C:\web2py\gluon\restricted.py", line 178, in restricted
exec ccode in environment
File "c:/web2py/applications/alpha/models/db.py", line 80, in <module>
Field('enrollment_closes', 'date'))
File "C:\web2py\gluon\sql.py", line 1309, in define_table
t._create(migrate=migrate, fake_migrate=fake_migrate)
File "C:\web2py\gluon\sql.py", line 1775, in _create
fake_migrate=fake_migrate)
File "C:\web2py\gluon\sql.py", line 1840, in _migrate
self._db._execute(sub_query)
File "C:\web2py\gluon\sql.py", line 897, in <lambda>
self._execute = lambda *a, **b: self._cursor.execute(*a, **b)
OperationalError: duplicate column name: enrollable_by_guest

Reply via email to