Missing initial migration

Using the Flask-Migrate extension you can create database migrations for your application.
Flask application’s typically auto-create db tables on start

So running flask db upgrade you’ll get:
INFO [alembic.env] No changes in schema detected.
To create the initial migration, override the applications existing database with a temporary memory-based one
DATABASE_URL=sqlite:/// flask db migrate
Happy hackin’!
References
Flask-Migrate: Documentation
Alembic: Cookbook - Building an Up to Date Database from Scratch
Miguel Grinberg: How To Add Flask-Migrate To An Existing Project




