Add database_opts to example config

This commit is contained in:
Tulir Asokan 2022-03-25 21:04:28 +02:00
parent fe8658ebc1
commit c4f9a3bdf5
2 changed files with 9 additions and 0 deletions

View file

@ -33,6 +33,7 @@ class Config(BaseFileConfig):
base = helper.base
copy = helper.copy
copy("database")
copy("database_opts")
if isinstance(self["crypto_database"], dict):
if self["crypto_database.type"] == "postgres":
base["crypto_database"] = self["crypto_database.postgres_uri"]