解决No changes detected和No migrations to apply.

如果用makemigrations和migrate创建数据表时,出现No changes detected和No migrations to apply。 搞它: 1、进入SQLite Expert软件,找到django_migrations,删除带app名字的记录。 2、删除前面你建了又不想要了的表。 3、删除app下migrations目录的文件。 4、搞定。
相关文章
相关标签/搜索