Read database path from config in alembic env.py

Slightly related to #135
This commit is contained in:
Tulir Asokan
2018-05-29 18:37:08 +03:00
parent e961e0bcc6
commit 6ef31599e9
4 changed files with 10 additions and 8 deletions
-3
View File
@@ -35,9 +35,6 @@ script_location = alembic
# are written from script.py.mako
# output_encoding = utf-8
sqlalchemy.url = sqlite:///mautrix-telegram.db
# Logging configuration
[loggers]
keys = root,sqlalchemy,alembic