This are my migration settings:
DAL(settings.database_uri, migrate=True, fake_migrate_all=True)

When I add new tables of fields on the development version of the app they 
are added properly. However, if I create a backup of the production 
database (missing the newly added fields/tables) and I use that backup to 
restore the development database the new fields are missing and they are 
not created after refreshing the page with the above migration settings. 

Any fields/tables added AFTER the restore DO get added! The only ones that 
don't are those that were added pre-restore and were lost on restore. 

Deleting the files in the databases folder doesn't help either. 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/7c6ee234-810a-403b-80bf-ecb2bda2736f%40googlegroups.com.

Reply via email to