Top "Sqlalchemy-migrate" questions

Schema migration tools for SQLAlchemy, designed to support an agile approach to database design, and make it easier to keep development and production databases in sync, as schema changes are required.

alembic util command error can't find identifier

I'm trying to use alembic to handle local migrations on my project. It worked the first time, but then I …

postgresql flask-sqlalchemy alembic sqlalchemy-migrate
Is it worth using sqlalchemy-migrate ?

I have a web application using sqlalchemy (within Pylons). I need to effiently change the schema to be able to …

python migration sqlalchemy data-migration sqlalchemy-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
How to write alter column name migrations with sqlalchemy-migrate?

I'm trying to alter a column name. First attempt was with this script: meta = MetaData() users = Table('users', meta, Column(…

python sqlite postgresql heroku sqlalchemy-migrate
Flask-Migrate sqlalchemy.exc.NoReferencedTableError: Foreign key associated with column

I am using Flask-Migrate in my application, with the following models: listpull/models.py from datetime import datetime from listpull …

sqlalchemy flask flask-sqlalchemy sqlalchemy-migrate flask-migrate
Sqlalchemy Foreign key relationship error while creating tables

Im creating tables using sqlalchemy and some of these tables has more than one foreign key relationship.Below is the …

python sqlalchemy flask-sqlalchemy sqlalchemy-migrate
sqlalchemy postgresql enum does not create type on db migrate

I develop a web-app using Flask under Python3. I have a problem with postgresql enum type on db migrate/upgrade. …

flask sqlalchemy flask-sqlalchemy flask-migrate sqlalchemy-migrate
Update column content during Alembic migration

Suppose my db model contains an object User: Base = declarative_base() class User(Base): __tablename__ = 'users' id = Column(String(32), primary_…

python-3.x alembic sqlalchemy-migrate
ModuleNotFoundError: No module named 'sqlalchemy'

I am new to sqlalchemy and trying to create tables in mysql.Created a virtual environment and executed below commands. …

mysql python-3.x sqlalchemy sqlalchemy-migrate
One-to-one relationship in Flask

I'm trying to create a one-to-one relationship in Flask using SqlAlchemy. I followed this previous post and I created the …

python flask sqlalchemy flask-sqlalchemy sqlalchemy-migrate