MySQL has issues creating an index on binary field, requiring additional instructions for it to work. I feel 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.
@nijel could you please give this PR a try and see if it resolves your issue? I think you will like it!
Fixes https://github.com/Stormbase/django-otp-webauthn/issues/17
MySQL has issues creating an index on binary field, requiring additional instructions for it to work. I feel 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.
@nijel could you please give this PR a try and see if it resolves your issue? I think you will like it!