我运行了一个迁移来为一个cookiecutter Flask 应用程序创建 SQLite 表。虽然数据库文件存在并且我可以打开它,但我看不到表。当我尝试创建用户时,我收到“没有这样的表”错误。即使我运行了迁移,为什么表不存在?我怎样才能使用这些表?
$ python manage.py db migrate
INFO [alembic.migration] Context impl SQLiteImpl.
INFO [alembic.migration] Will assume non-transactional DDL.
INFO [alembic.autogenerate.compare] Detected added table 'tags'
INFO [alembic.autogenerate.compare] Detected added table 'users'
INFO [alembic.autogenerate.compare] Detected added table 'posts'
INFO [alembic.autogenerate.compare] Detected added table 'tags_posts'
Generating C:\envs\r2\myflaskapp\migrations\versions\....
sqlalchemy.exc.OperationalError OperationalError: (OperationalError) no such table: