First time here? Check out the FAQ!
1

Why is askbot migration 0032 broken?
 

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
JeffJenkins's avatar
11
JeffJenkins
asked 13 years ago

Comments

1

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

Fitoria's avatar Fitoria (13 years ago)

Which version of postgres do you have?

Evgeny's avatar Evgeny (13 years ago)
see more comments

1 Answer

1

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago
link

Comments

see more comments