|
I had used this command after the engine was had updated (from the 611 to the 1012). I have caught an error:
I have fixed this, I've deleted a file
From a folder
Is it normal or a bug? |
|
The fact that this error raises when you try to execute the migration means that the migration has already been triggered and the required field has already been removed. In other words, the migration did the job it was created for. But for some reason it was removed from the south_migrationhistory table. This way you tell South to trigger the migration again. Your solution to the problem is to remove the |
Hmm... Even if you delete that file from the migrations folder it changes nothing. Except for the fact that the migration will never be executed. I think this issue is connected with the previous ones you've posted, as I remember you had again migration problems.
This migration, as i understood, deletes a field in a table. If I delete once the forum works, if don't do it the forum breaks when I turn a comment into an answer.
@expert, you need to do the normal, standard migrations EVERY TIME you update. It is simple to do, just type "python manage.py migrate forum" in your OSQA directory. If you don't follow the standard steps, then you cannot hope for community support.
But if I don't delete this file, the forum breaks. How can I fix this differently?