|
When I tried to upgrade database to r581 from r569, I found some tables are not synced by "manage.py syncdb" but "manage.py migrate" refused to migrate them either. Here is the output:
According to the code diff, it looks like the database tables are actually not changed, but the interface is changed a little. Should I be worried about the database in this case? Why does "manage.py syncdb" complain that "forum" is not synced? Thanks in advance for any help. |
|
From 569 to 581 there's no schema changes so you shouldn't be worried. The syncdb command is responsible for creating the database schema, or any new tables. But when you install south (the migration library used by OSQA) it intercepts that command and does not synchronize any django app that appears to have migrations, in this case the forum app (the OSQA core), thus the "Not synced..." blah blah output. But that doesn't mean there are any migrations to run. So when you run migrate, it says there is nothing to migrate, and it's true :) Thanks for the answer. So if there are indeed changes in the schema, South will make the migration and dbsync will say that app is "synced", is it correct?
(06 Sep '10, 21:57)
X M
|