从v6.3升级到v6.4后,migrate命令报告模型已更改,但不存在迁移。 由于我不想中断现有安装,因此可以忽略此警告吗?我是否必须遵循建议,这样做有什么风险?
docker container exec -it kiwi_web /Kiwi/manage.py migrate
Operations to perform:
Apply all migrations: admin, attachments, auth, contenttypes, core, django_comments, kiwi_auth, linkreference, management, sessions, sites, testcases, testplans, testruns
Running migrations:
No migrations to apply.
Your models have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
答案 0 :(得分:0)
重复 Some warning about manage.py migrate after upgrading to 6.4
已在6.5中修复(问题来自于依赖库),请参见changelog