mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:46:06 -04:00
Pass Database into the data store
This commit is contained in:
parent
d64bb32a73
commit
d537be1ebd
5 changed files with 24 additions and 28 deletions
|
@ -379,7 +379,7 @@ class BackgroundUpdater(object):
|
|||
logger.debug("[SQL] %s", sql)
|
||||
c.execute(sql)
|
||||
|
||||
if isinstance(self.db.database_engine, engines.PostgresEngine):
|
||||
if isinstance(self.db.engine, engines.PostgresEngine):
|
||||
runner = create_index_psql
|
||||
elif psql_only:
|
||||
runner = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue