I need to find a new server to do that test. let me try....
northlander ( 2012-02-20 04:48:39 -0500 )editasked 2012-02-14 19:44:06 -0500
Anonymous
I got error message when run the following cmd:
python manage.py migrate askbot
(1146, "Table 'askbot.askbot_badgedata' doesn't exist") Running migrations for askbot: - Migrating forwards to 0051_proxify_qa_rev_models.
askbot:0020_auto__add_field_repute_comment__chg_field_repute_question ! Error found during real run of migration! Aborting.
! Since you have a database that does not support running ! schema-altering statements in transactions, we have had ! to leave it in an interim state between migrations.
! You might be able to recover with: = ALTER TABLE repute DROP COLUMN comment CASCADE; []
I fixed this problem with an --all option added. That is:
python manage.py syncdb --all
But got new problem:
python manage.py migrate askbot
Running migrations for askbot:
- Migrating forwards to 0051_proxify_qa_rev_models.
> askbot:0020_auto__add_field_repute_comment__chg_field_repute_question
! Error found during real run of migration! Aborting.
How can i fix this?
You have to run all migrations, the syncdb --all will not work.
Which database are you using and what is the version of the database engine?
I need to find a new server to do that test. let me try....
northlander ( 2012-02-20 04:48:39 -0500 )editCreate your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2012-02-14 19:44:06 -0500
Seen: 168 times
Last updated: Feb 14 '12
Question missing from question_revision table!
Is there a specific version of PostgreSQL required?
How to migrate from MySQL to PostgresQL?
Which is a better database to use for Askbot, PostgreSQL or MySQL, and why?
Database error when running migrations
Best practices to avoid data inconsistency
is it possible to export data from askbot?
Cannot sign up for a new account using a fresh instal of askbot.
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
I'm the Anonymous
northlander ( 2012-02-14 20:48:31 -0500 )edit@northlander: the FBI will be happy to hear!
piskvorky ( 2012-02-15 03:20:02 -0500 )edit