- django.db.utils.InternalError: (1054, "Unknown column 'name' in 'django_content_type'")
alter table django_content_type add column name varchar(10);
python manage.py migrate --fake-initial --settings=‘server.settings.test'
alter table django_content_type add column name varchar(10);
python manage.py migrate --fake-initial --settings=‘server.settings.test'
本文标题:django数据库迁移问题
本文链接:https://www.haomeiwen.com/subject/omkcfqtx.html
网友评论