Hi Web2py Users,

I deployed an app with postgres on Heroku following the info in:

https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-heroku.sh
https://github.com/web2py/web2py/blob/master/gluon/contrib/heroku.py

I already had a working postgres database from a previous deployment so I 
uploaded that from my workstation to the heroku environment using the 
heroku postgres restore tool. I had to use fake_migrate_all to get a 
working DB without any tickets. Is there a smart way to get DB migrations 
working on Heroku itself when you already have a DB?

To clarify:
Should I rename local .table files with another prefix, matching the Heroku 
postgres connection URI and upload them also when I deploy a new version of 
the app, or is there a better way?


-- 
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