其他分享
首页 > 其他分享> > django.db.migrations.exceptions.InconsistentMigrationHistory: Migration admin.0001_initial is applie

django.db.migrations.exceptions.InconsistentMigrationHistory: Migration admin.0001_initial is applie

作者:互联网

django.db.migrations.exceptions.InconsistentMigrationHistory: Migration admin.0001_initial is applied before its dependency users.0001_initial on database ‘default’

第一次迁移失败造成,只需删除迁移文件、数据库,重建数据库,重新迁移

标签:applie,initial,db,migrations,django,InconsistentMigrationHistory,admin.0001
来源: https://blog.csdn.net/weixin_45228198/article/details/123095202