I just updated to the latest revision (currently 162) and get the following error:

1146, "Table 'djangostack.forum_badge' doesn't exist"

...and when I look at the DB, I see there is indeed no such table. I see there are some statements in a couple of files (below) that are aimed at migrating the DB, but they seem not to have been applied. I've stopped and started the various services after resyncing, but to no avail. Is this a bug or an error on my part?

forum/migrations/0033_auto__add_flag__add_vote__add_field_badge_cls__del_unique_badge_type_n.py
forum/migrations/0035_auto__del_field_award_object_id__del_field_award_content_type__add_uni.py

asked 07 May '10, 14:14

Rich%20Seller's gravatar image

Rich Seller
1.8k154047
accept rate: 23%


I'd not installed South and applied the migrations. To update the tables I ran the following two commands to ensure the tables are synced and any missing tables created.

python manage.py syncdb --all
python manage.py migrate --fake
link

answered 07 May '10, 14:18

Rich%20Seller's gravatar image

Rich Seller
1.8k154047
accept rate: 23%

edited 07 May '10, 19:05

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×62
×27
×9

Asked: 07 May '10, 14:14

Seen: 916 times

Last updated: 07 May '10, 19:05

powered by OSQA