django-celery-beat icon indicating copy to clipboard operation
django-celery-beat copied to clipboard

Fix MySQL max length issue.

Open jeffkit opened this issue 3 years ago • 3 comments

Fix the same issue in django_celery_result project.

jeffkit avatar May 26 '21 03:05 jeffkit

is this change really needed?

Yes, this issue is also exist in the earlier version of django_celery_result project. Check the readme for detail.

we use utf8-mb4 as our mysql default chartset encoding, when migrating django_celery_beat, it fail with an error: django.db.utils.OperationalError: (1071, 'Specified key was too long; max key length is 767 bytes')

jeffkit avatar Jun 06 '21 13:06 jeffkit

hopefully the change is not going to break existing codes

auvipy avatar Jun 15 '21 11:06 auvipy

can you check the comments of this PR and improve this one https://github.com/celery/django-celery-beat/pull/202/files?

auvipy avatar Jun 15 '21 11:06 auvipy