The database module for web.py does not support migrations. Looking at your question and the one posted on reddit, I'm not sure migrations is what you are looking for. It sounds like you have 2 development machines that you work on (desktop and laptop). In this case you may want to have a database dump file (sql file) containing development/test data that can be imported or restored into postgres. Check out the pg_dump command http://www.postgresql.org/docs/8.4/static/app-pgdump.html. You can use this to dump your data which you can then store in your dropbox and restore on your other machine.
Jeff On Friday, October 18, 2013 4:15:47 PM UTC-5, Steven Brown wrote: > > I started a discussion here: > > http://www.reddit.com/r/SQL/comments/1ope3h/postgresql_how_spectacularly_bad_an_idea_is_it_to/ > > On this subject. Basically, I want to be able to work on my project on > or offline, but offline I don't have access to my database. I can edit > the code since it's in a dropbox (also explained to me as a bad idea; > working on it) To get access to my database, something called migration > was recommended to me, but web.py does not seem to support it. Does > anyone have other suggestions, or is there a way to get migration on > web.py? > -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/webpy. For more options, visit https://groups.google.com/groups/opt_out.
