0

I've updated the Django model field from CharField to TextField.

I got the below error while applying migrations in MySQL.

django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'my_column' used in key specification without a key length")

Django version: 2.2.2 Note: This column in included in unique_together in Meta.

Below answers not worked/ not related:

DilLip_Chowdary
  • 841
  • 4
  • 18

0 Answers0