forked from 3wordchant/capsul-flask
add support for postgres sslmode
This commit is contained in:
@ -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 = {}
|
||||
|
Reference in New Issue
Block a user