Sorry, line # 698 (and maybe 699) ... File "C:\web2py\gluon\dal.py", line 4212, in define_table polymodel=polymodel) File "C:\web2py\gluon\dal.py", line 641, in create_table fake_migrate=fake_migrate) File "C:\web2py\gluon\dal.py", line 698, in migrate_table sql_fields[key].startswith('INT,') and \ AttributeError: 'dict' object has no attribute 'startswith'
elif sql_fields[key]['sql'] != sql_fields_old[key]['sql'] \ and not isinstance(table[key].type, SQLCustomType) \ and not (table[key].type.startswith('reference') and \ sql_fields[key].startswith('INT,') and \ sql_fields_old[key].startswith('INT NOT NULL,')): I do have that code you mention in dal.py. Thanks, Carlos