summary refs log tree commit diff
path: root/synapse/storage/prepare_database.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-20 10:48:24 +0000
committerGitHub <noreply@github.com>2019-12-20 10:48:24 +0000
commit75d8f26ac85efd3816d454927f40b6e4c3032df1 (patch)
tree1e88634b8ac0b8418239015d11e97c9e557477f8 /synapse/storage/prepare_database.py
parentChange EventContext to use the Storage class (#6564) (diff)
downloadsynapse-75d8f26ac85efd3816d454927f40b6e4c3032df1.tar.xz
Split state groups into a separate data store (#6296)
Diffstat (limited to 'synapse/storage/prepare_database.py')
-rw-r--r--synapse/storage/prepare_database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/prepare_database.py b/synapse/storage/prepare_database.py
index 403848ad03..e70026b80a 100644
--- a/synapse/storage/prepare_database.py
+++ b/synapse/storage/prepare_database.py
@@ -42,7 +42,7 @@ class UpgradeDatabaseException(PrepareDatabaseException):
     pass
 
 
-def prepare_database(db_conn, database_engine, config, data_stores=["main"]):
+def prepare_database(db_conn, database_engine, config, data_stores=["main", "state"]):
     """Prepares a database for usage. Will either create all necessary tables
     or upgrade from an older schema version.