5👍
✅
Issue the command (after the change of the max_length
in the code):
python manage.py schemamigration <name of the app> --auto
python manage.py migrate <name of the app>
That worked for me.
Hope it helps
Source:stackexchange.com