#33169: Migrations crashes with long identifiers on MySQL (8.0.26 ) -------------------------------------+------------------------------------- Reporter: Awais Qureshi | Owner: nobody Type: Bug | Status: closed Component: Migrations | Version: 3.2 Severity: Normal | Resolution: needsinfo Keywords: | Triage Stage: django32,mysql8.0.26 | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Awais Qureshi):
* keywords: django32 => django32,mysql8.0.26 Old description: > I am trying to upgrade the project from django22 to 32. > Migrate command gives me this error > > django.db.utils.OperationalError: (1059, "Identifier name > 'blackboard_blackboardlearnerassessmentdatatransmissionaudit_chk_1' is > too long") > > I did't find any information related to this change in django32 release > notes. > > Important point: `class > BlackboardLearnerAssessmentDataTransmissionAudit(models.Model)` is model > name and app name is `blackboard` also. New description: I am trying to upgrade the project from django22 to 32. Migrate command gives me this error django.db.utils.OperationalError: (1059, "Identifier name 'blackboard_blackboardlearnerassessmentdatatransmissionaudit_chk_1' is too long") This issue appeared in `django30` also. I did't find any information related to this change in django32 release notes. Important point: `class BlackboardLearnerAssessmentDataTransmissionAudit(models.Model)` is model name and app name is `blackboard` also. `OS details` mysql Ver 8.0.26-0ubuntu0.20.04.3 for Linux on x86_64 ((Ubuntu)) Python 3.8 Django 30,31,38 -- -- Ticket URL: <https://code.djangoproject.com/ticket/33169#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.e060878df044ce095febacfe561dc58e%40djangoproject.com.