celery / django-celery-results

Celery result back end with django
Other
684 stars 203 forks source link

Migrations Getting Failed with New Version #352

Open thesaadmirza opened 1 year ago

thesaadmirza commented 1 year ago

Hi,

Migrations are getting failed after installing the latest version

Here is my configs

Django==4.1 celery==5.2.7 django-celery-results==2.4.0

Error : django.db.utils.OperationalError: error in index django_celery_results_taskresult_hidden_cd77412f after drop column: no such column: hidden

auvipy commented 1 year ago

might need a new release soon. can you check the commit log please?

thesaadmirza commented 1 year ago

yes, i did

the migration 0007_remove_taskresult_hidden.py is causing the problem. It is trying to remove the hidden column which does not exist.

thesaadmirza commented 1 year ago

If i comment the operation for removing hidden folder, the migration works.

auvipy commented 1 year ago

@orf can you verify this please?