我在 Django 中创建了一个名为“一致性”的应用程序。当我跑
python manage.py sql consistency
我收到此错误:
App 'consistency' has migrations. Only the sqlmigrate and sqlflush commands can be used when an app has migrations.
我能做些什么来修复/避免这个错误?提前致谢。我正在使用 Python 3.4。
我在 Django 中创建了一个名为“一致性”的应用程序。当我跑
python manage.py sql consistency
我收到此错误:
App 'consistency' has migrations. Only the sqlmigrate and sqlflush commands can be used when an app has migrations.
我能做些什么来修复/避免这个错误?提前致谢。我正在使用 Python 3.4。