Ask Your Question
1

Why is askbot migration 0032 broken?

asked 2012-04-12 12:46:04 -0500

JeffJenkins gravatar image JeffJenkins
11 1

There is a unique index being added to askbot_badgedata which aleady has unique=True when it's created a couple lines earlier. I discovered it doing a clean install using Postgres as the DB. I don't really understand South, but shouldn't an old migration stay the same?

(this is mostly a bug report, but I wasn't sure where to put it since you aren't using github issues!)

delete close flag offensive retag edit

Comments

1

Could you provide more details on how do you run migrations? Migrations works for me

Fitoria ( 2012-04-12 16:05:52 -0500 )edit

Which version of postgres do you have?

Evgeny ( 2012-04-13 18:12:38 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-04-21 09:51:15 -0500

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

There is a bug in South migration app version 0.7.3 with the setup of unique constraints.

In askbot version 0.7.42 we added a workaround for this issue to the migration, should work now.

link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-04-12 12:46:04 -0500

Seen: 25 times

Last updated: Apr 21 '12