-
Notifications
You must be signed in to change notification settings - Fork 5
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
Not compatible with MySQL #17
Comments
Possible solutions I can see:
I can prepare a pull request, but I'd like to hear opinion on the preferred approach first. |
MySQL has issues creating an index on binary field, requiring special instructions. It is better to go with a slightly more compatible implementation that utilizes plain CharField than to write special edge-case instructions just for MySQL. Squashed migration necessary to avoid ever executing migration code that crashes on MySQL. See #17
MySQL has issues creating an index on binary field, requiring special instructions. It is better to go with a slightly more compatible implementation that utilizes plain CharField than to write special edge-case instructions just for MySQL. Squashed migration necessary to avoid ever executing migration code that crashes on MySQL. See #17
@nijel thanks for listing those suggestion so clearly, I happened to have some time available today so I tried out the third solution as it was most appealing to me because - as you mentioned - it avoids calculating the hash in the I ended up discovering that cryptographic functions like |
Ah, I use just MD5 so far and never hit that it would be unavailable, I thought it's the case for all of them. |
Migrating on MySQL fails with:
The text was updated successfully, but these errors were encountered: