在 github 上克隆后,Django 模型不会创建 table

Django models does not create table after I clone it on github

最近我在做一个小的 Django 项目,我必须和我的队友一起工作, 所以我从 github 克隆项目的存储库。 问题是,我计算机中的数据库没有 table 所以我想我必须进行迁移并迁移它。但是在我这样做之后,django 只创建了自己的 tables 但没有创建我的队友在 Django 模型中编写的其他 tables。 我真的需要你们的帮助

this are the models my teammates wrote

但是在我 makemigrations 并迁移它之后,phpmyadmin 没有显示我想要的 tables makemigrations and migrate

the picture on phpmyadmin after I migrate django models

This is my settings

after tried this,it still not working

migrations folder

运行

python manage.py makemigrations *name_of_you_app_that_has_models_here*
python manage.py migrate *name_of_you_app_that_has_models_here*

您应该在所有模型中使用 managed=True 以通过 django 管理迁移