summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-05-04 19:05:49 +0100
committerErik Johnston <erik@matrix.org>2016-05-04 19:05:49 +0100
commit97b914124520b81670a115c33fe0042cf15317dd (patch)
tree93f323a8bd724ff16533ba74288ac414d224c43e /synapse/storage/__init__.py
parentstarting point for doc on how log contexts are supposed to work (diff)
parentAdd primary key (diff)
downloadsynapse-97b914124520b81670a115c33fe0042cf15317dd.tar.xz
Merge pull request #762 from matrix-org/erikj/report_event
Add /report endpoint
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r--synapse/storage/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index 045ae6c03f..7122b0cbb1 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -114,6 +114,7 @@ class DataStore(RoomMemberStore, RoomStore,
         self._state_groups_id_gen = StreamIdGenerator(db_conn, "state_groups", "id")
         self._access_tokens_id_gen = IdGenerator(db_conn, "access_tokens", "id")
         self._refresh_tokens_id_gen = IdGenerator(db_conn, "refresh_tokens", "id")
+        self._event_reports_id_gen = IdGenerator(db_conn, "event_reports", "id")
         self._push_rule_id_gen = IdGenerator(db_conn, "push_rules", "id")
         self._push_rules_enable_id_gen = IdGenerator(db_conn, "push_rules_enable", "id")
         self._push_rules_stream_id_gen = ChainedIdGenerator(