Django no such column after migrate github Your easiest fix is to drop the database and run migrate again. py makemigrations No changes detected I have no name!@ecabecb277af:/app$ DD_DEBUG=off python manage. This is a new one on me as far as I can see, a table name ending in __old is an internal Django implementation detail when running schema migrations on SQLite databases (see docs, source code) so it's not clear why anything outside of running the migration would be referring to that table. contrib In Django I added models into models. ForeignKey ( settings . 현재 앱에 적용된 모든 마이그레이션을 삭제합니다. py makemigrations, manage. It stopped working after my upgrades but I did them all together (rookie mistake) so I am not sure which is the cause. py migrate and I get: No migrations to apply. 在本文中,我们将介绍在Django中添加模型字段后出现“no such column”错误的解决方法。当我们在已有的模型中添加一个新字段时,有时会遇到数据库迁移过程中出现的这个错误。 django. tppysxpoxluenvjkrktqaunzuqdknqlwccukzqomghshoutigbjcdlkraxyfplksoznpkyrfezcjsdev