Top "Flask-migrate" questions

Use this tag for questions related to the Flask extension flask-migrate, this extension implements SQLAlchemy database migrations.

Flask says "did not provide the FLASK_APP environment variable"

I'm trying to run a Flask application with flask run but no matter what, I receive this error: Error: Could …

flask flask-migrate
Could not assemble any primary key columns for mapped table

When I'm trying to create a database schema migration, I'm getting this weird error. Can you please help me to …

python sqlalchemy flask-sqlalchemy flask-migrate
sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string

I'm learning flask web microframework and after initialization of my database I run flask db init I run flask db …

python-3.x flask flask-sqlalchemy flask-login flask-migrate
CommandError: Can't locate revision identified by '...' when migrating using Flask-Migrate

I started using Flask-Migrate today and installed it on a test project. However i am getting following error: alembic.util.…

python flask flask-sqlalchemy flask-migrate
Creating seed data in a flask-migrate or alembic migration

How can I insert some seed data in my first migration? If the migration is not the best place for …

python flask flask-sqlalchemy alembic flask-migrate
Flask-Migrate not creating tables

I have the following models in file listpull/models.py: from datetime import datetime from listpull import db class Job(…

python flask flask-sqlalchemy flask-migrate
Can't migrate or upgrade database with Flask-Migrate (Alembic)

I've been using Flask-Migrate (Alembic) for updating my database. I updated my models.py file however I made an error. …

python flask sqlalchemy alembic flask-migrate
Cannot complete Flask-Migration

I've setup a local Postgres DB with SQLAlchemy and cannot commit my first entry. I keep on getting this error... …

python postgresql sqlalchemy-migrate flask-migrate
Flask - ImportError: No module named migrate.versioning

I'm working through a flask tutorial and am trying to run a script that creates a database instead of doing …

python flask importerror flask-sqlalchemy flask-migrate
Why Flask-migrate cannot upgrade when drop column

I am using SqlAlchemy and Flask-migrate for DB migration. I have successfully init the DB and upgrade once, but when …

python sqlalchemy flask-migrate