Recently I’m doing a small Django project that I have to work with my teammates,
so I clone the project’s repository from github.
The problem is , the database in my computer doesn’t have the table so i think i have to makemigrations and migrate it. But after i did that,django only createed its own tables but didn’t create other tables that my teammates wrote in Django’s models.
I really need your guys hlep
this are the models my teammates wrote
but after i makemigrations and migrate it ,phpmyadmin does not show the tables i want
makemigrations and migrate
the picture on phpmyadmin after I migrate django models
2
Answers
run
You should use managed=True in all models for managing the migrations via django