Thanks, I'll make a backup and will have a try. I anyway wanted to upgrade postgres from 8.4...
Kirill 2012/9/18 Shaun McDonald <[email protected]> > > On 18 Sep 2012, at 13:25, Brett Henderson <[email protected]> wrote: > > On 18 September 2012 22:15, Кирилл Бестужев <[email protected]> wrote: > >> Thanks for the explanation. >> >> The wiki page I am talking about is >> http://wiki.openstreetmap.org/wiki/Rails_port/Database_schema >> > > Okay. It does appear to be out of date. I believe the changes were made > due to some limitations of Ruby on Rails. > > > As it states in the second paragraph on that page, the migrations are the > official current status. That page won't be manually updated as the DB is > updated as it's too much work, and the info is already stored in the > code/git repo. > > > >> >> And about the upgrade - can I upgrade the rails port db schema without >> loosing the data in the DB? >> > > I believe so, because the main production database would have gone through > the same upgrade steps. I haven't done it myself though. > > > If you have the rails codebase you should be able to run rake db:migrate > and the upgrade to work through all the changes to the database. MySQL is > not supported, only Postgres now. > > Shaun > >
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
