On Wednesday, April 19, 2017 at 4:42:33 PM UTC-7, Áureo Dias Neto wrote:
>
> How can I make web2py recreate (alter) my tables according to my models, 
> using mysql? In SQLite is is automatic, but when the 'migrate = true' 
> hedge, I got an error that is an X table (all of them) also exist, also 
> tried fake_migrate_all = True, not a bug in this case, but my schema Bank 
> Not updated
>

So your situation is you set up your application, ran for a while (with the 
models getting MySql tables), changed the model, and want the MySql tables 
to reflect the changes?  Did you change field types or add fields?

Or are you working with legacy tables that were already existing in MySql 
before you hooked your application to that database?

/dps

 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to