在使用Django allauth时,如果报django.db.utils.InternalError: (1709, 'Index column size too large. The maximum column size is 767 bytes.'
的错误,则是因为数据库版本的问题,请检查您的数据库是否低于5.7,如果是5.5/5.6的话,升级一下数据库使用utf864即可。
官网文档
在使用Django allauth时,如果报django.db.utils.InternalError: (1709, 'Index column size too large. The maximum column size is 767 bytes.'
的错误,则是因为数据库版本的问题,请检查您的数据库是否低于5.7,如果是5.5/5.6的话,升级一下数据库使用utf864即可。