summary refs log tree commit diff
path: root/synapse/storage/schema
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-01-28 17:42:19 +0000
committerKegan Dougal <kegan@matrix.org>2015-01-28 17:42:19 +0000
commit11634017f47779d784325da5513517ad76b0dbc1 (patch)
tree9dd0f9238ca1b126dbc3d10c5fb3b46607ccab7b /synapse/storage/schema
parentAdd filter JSON sanity checks. (diff)
downloadsynapse-11634017f47779d784325da5513517ad76b0dbc1.tar.xz
s/definition/filter_json/ since definition is now used to mean a component of the filter, rather than the complete json
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r--synapse/storage/schema/filtering.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/filtering.sql b/synapse/storage/schema/filtering.sql
index 795aca4afd..beb39ca201 100644
--- a/synapse/storage/schema/filtering.sql
+++ b/synapse/storage/schema/filtering.sql
@@ -15,7 +15,7 @@
 CREATE TABLE IF NOT EXISTS user_filters(
   user_id TEXT,
   filter_id INTEGER,
-  definition TEXT,
+  filter_json TEXT,
   FOREIGN KEY(user_id) REFERENCES users(id)
 );