Duplicate column name

后端 未结 7 1788
栀梦
栀梦 2021-02-05 15:22

I\'ve changed my models an then I tried to migrate them, but got this error:

python manage.py migrate
Operations to perform:
  Apply all migrations: admin, conte         


        
7条回答
  •  孤城傲影
    2021-02-05 16:11

    Just found the solution! I deleted all my migrations with 0001_initial, and then run makemigrations and migrate and all the changes apllied!

提交回复
热议问题