add support for postgres sslmode

This commit is contained in:
2021-01-20 16:43:10 -06:00
parent 6a82e6df01
commit 3f6491f359
2 changed files with 6 additions and 1 deletions

View File

@ -20,7 +20,8 @@ def init_app(app):
password = databaseUrl.password,
host = databaseUrl.hostname,
port = databaseUrl.port,
database = databaseUrl.path[1:]
database = databaseUrl.path[1:],
sslmode = app.config['DATABASE_SSLMODE']
)
schemaMigrations = {}