There are various scenarios:

1) the table exist in db but were not created by web2py
run at least once with migrate=True,fake_migrate=True
2) the table exist in db and where created by web2py (or you run
fake_migrate once)
it is ok to run with migrate=False
3) web2py is aware of the tables (created by web2py or you run
fake_migrate) but you need to change them
set migrate=True until the migration has happened.

I guess you are asking about 3.

On Dec 30, 9:53 pm, Thomas Dall'Agnese <[email protected]>
wrote:
> But if we change the table definition, for example we add one field, it
> will not be updated then, isn't it?
> How can we migrate a MySQL table?

Reply via email to