summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-05-14 11:44:03 +0100
committerDavid Baker <dave@matrix.org>2015-05-14 11:44:03 +0100
commit7c549dd5572b2881ee61cb11c572a82662414cdb (patch)
tree1495d5f56a9064becb498bba15ac07580bf52923 /synapse/storage/_base.py
parentSpecify python 2.7 in the virtualenv setup (SYN-319) #resolved (diff)
downloadsynapse-7c549dd5572b2881ee61cb11c572a82662414cdb.tar.xz
Add ID generator for push_rules_enable to #resolve SYN-378
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index c9fe5a3555..81052409b7 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -309,6 +309,7 @@ class SQLBaseStore(object):
         self._access_tokens_id_gen = IdGenerator("access_tokens", "id", self)
         self._pushers_id_gen = IdGenerator("pushers", "id", self)
         self._push_rule_id_gen = IdGenerator("push_rules", "id", self)
+        self._push_rules_enable_id_gen = IdGenerator("push_rules_enable", "id", self)
 
     def start_profiling(self):
         self._previous_loop_ts = self._clock.time_msec()