Ask Your Question
1

Why is askbot migration 0032 broken?

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

JeffJenkins gravatar image

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!)

edit retag flag offensive close merge delete

Comments

1

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

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

Which version of postgres do you have?

Evgeny gravatar imageEvgeny ( 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

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 61 times

Last updated: Apr 21 '12