Ask Your Question

Why is askbot migration 0032 broken?

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

JeffJenkins's avatar

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



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

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

Which version of postgres do you have?

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

1 Answer

Sort by ยป oldest newest most voted

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

Evgeny's avatar

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


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

Seen: 109 times

Last updated: Apr 21 '12