zzzeek/alembic — pull request #10 by msabramo (2014-05-17 18:17:03+00:00)
Title: Add EnvironmentContext and Config to MigrationContext

This lets migrations do stuff like:

op.get_context().config.get_main_option('schema')

where `schema` is a custom option that I added to alembic.ini