简体   繁体   中英

When I make migrations I get this error, what could be the reason?

I cloned the repository. Then I added several fields to the model and wanted to add them to an existing database. I ran the makemigrations command and got this error

  1. ===> Remove all migration from maigrations folder

  2. ===> python manage.py makemigrations yourappname

  3. ===> python manage.py migrate

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM