进行数据库迁移时报下列错误: 解决方法: 1.删除迁移文件: 2.mysql删除对应的表 数据库迁移: python manage.py makemigrations python manage.py migrate