Fix #5391 - Alembic migrations would only work for SQLite
commit2ddebb97bfbb281bcb48e699d5b0c493cd9932c0
authorJessica Tallon <tsyesika@tsyesika.se>
Mon, 18 Jan 2016 09:39:34 +0000 (18 09:39 +0000)
committerJessica Tallon <tsyesika@tsyesika.se>
Mon, 18 Jan 2016 09:39:34 +0000 (18 09:39 +0000)
treef0d1db5a22e436b13326868798c3bc0e49bec841
parentbeb5a4a150baba1f7219749ee47f96b01f3fdb0f
Fix #5391 - Alembic migrations would only work for SQLite

The database connection was being set in a alembic.ini config file, if the user
had specified postgres the "sqlite" connection URL in alembic.ini would override
that. We probably should look into this more so i've opened #5395.
alembic.ini
mediagoblin/db/migration_tools.py