SQLAlchemy weekly dev meetings: https://docs.google.com/document/d/1WuzZwV_aIV_ltDR3cJ-bXxXMZ9zCfr5pFSXZGZOSSQw/edit?usp=sharing
sqlalchemy-bot on master
Add async template to Alembic … (compare)
sqlalchemy-bot on master
Add missing colon before code b… (compare)
sqlalchemy-bot on master
document declarative base made … Merge "document declarative bas… (compare)
def run_migrations_online():
"""Run migrations in 'online' mode.
In this scenario we need to create an Engine
and associate a connection with the context.
"""
engine = getEngine()
with engine.connect() as connection:
context.configure(connection=connection, target_metadata=target_metadata, **config_options)
with context.begin_transaction():
context.run_migrations()
engine = create_engine(
"mssql+pyodbc://scott:tiger@myhost:port/databasename"
"?driver=ODBC+Driver+17+for+SQL+Server"
"&authentication=ActiveDirectoryIntegrated"
)