alembic_helpers
sc_crawler.alembic_helpers
#
alembic_cfg
#
Loads the Alembic config and sets some dynamic attributes.
Source code in sc_crawler/alembic_helpers.py
get_revision
#
Get current revision of alembic in a database connection.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
connection |
Connection
|
SQLAlchemy connection to look up revision in |
required |
version_table |
str
|
name of the table storing revision |
'zzz_alembic_version'
|