Pass connection to EnvironmentContext.configure
authorBoris Bobrov <breton@cynicmansion.ru>
Sat, 4 Mar 2017 07:58:48 +0000 (10:58 +0300)
committerBoris Bobrov <breton@cynicmansion.ru>
Sat, 4 Mar 2017 08:05:32 +0000 (11:05 +0300)
commit4465521ad5ce99a9bd3e3e2fa68c7bb48f6a12c3
tree14d62f78f497db75c5ab4dcafe95a2904b530244
parentc4d3293dfa4076719e60fe9e052add07426f9a9a
Pass connection to EnvironmentContext.configure

In https://bitbucket.org/zzzeek/alembic/issues/419/ we were suggested
use connection instead of engine. This should fix an issue reported
via ml.

(cherry picked from commit 3bad5310f683f2512e5d184555aa0108fbd3ff4b)
mediagoblin/db/migrations/env.py