Hi,
I am having difficulties with table migration on GAE.
I deployed perfectly in the Google App Engine and everything is working fine.
I then needed to make some change in the auth_user adding some extra field but when I deploy again the new version, the migration doesn't occur and the new column is not created.
Here is the code used:
db = DAL('google:sql://[app-name]:[db-name]/[table-name]', migrate_enabled=True, check_reserved=['all'], lazy_tables=True)
then below:
auth.settings.extra_fields['auth_user'] = [Field('username_fb', length=128, default="", unique=True, writable=False, readable=False)]
auth.define_tables(username=False, signature=False, migrate=True)
Any idea why the migration doesn't occur?
Is there a way to force web2py to do migration somehow?
Thanks for the help!
Best,
Sebastian