Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration error: django.db.utils.OperationalError: (1071, 'Specified key was too long; max key length is 767 bytes') #22

Open
machristie opened this issue Jun 22, 2020 · 0 comments

Comments

@machristie
Copy link
Collaborator

Index has max length 767 bytes in Mariadb and name column is 256 characters, utf8, which can be up to three characters, so that would be 768 characters.

I'll submit a PR which fixes this by changing the name column to 255 characters.

machristie added a commit to machristie/interactactwel-django-app that referenced this issue Jun 22, 2020
DImuthuUpe added a commit that referenced this issue Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant