|
When installing my OSQA, I installed Django South for database migration. As described in this documentation, I used the following commands when I initially created my database:
Now, I have pulled a new version of the SVN code, and I see that there are new database migrations. What is the command to migrate my database to the latest South migration version? |
|
Now just run migrate without the --fake switch:
The first time you install it you need to use the --fake witch to "trick" south into think that it already migrated until your current version. Otherwise south would try to migrate from migration 1, failing... I think it's also important to point out that right after you hit enter, you should hold your breath. :)
(07 May '10, 19:37)
Joseph
When migrating the database, should I take the site down?
(05 Jun '10, 14:08)
Joseph
1
no, that's a very quick process. There's a maintainance mode switch on the admin area, but you shouldn't need that, a migration takes only a couple of seconds.
(05 Jun '10, 14:12)
Hernani Cerq... ♦♦
|