summary refs log tree commit diff
path: root/synapse/storage/schema/im.sql
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-14 18:40:50 +0100
committerErik Johnston <erik@matrix.org>2014-08-14 18:40:50 +0100
commit2c46bb620828efaebdbae37e5212a28b505ee72d (patch)
tree9b10dfb00f35b00f9b6e6d49feb22a5e9207ce19 /synapse/storage/schema/im.sql
parentUpdate StreamStore (diff)
downloadsynapse-2c46bb620828efaebdbae37e5212a28b505ee72d.tar.xz
Fix up typos and correct sql queries
Diffstat (limited to 'synapse/storage/schema/im.sql')
-rw-r--r--synapse/storage/schema/im.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/schema/im.sql b/synapse/storage/schema/im.sql
index 7f564c8540..85c0c7119c 100644
--- a/synapse/storage/schema/im.sql
+++ b/synapse/storage/schema/im.sql
@@ -30,9 +30,9 @@ CREATE TABLE IF NOT EXISTS state_events(
     prev_state TEXT
 );
 
-CREATE TABLE IF NOT EXISTS current_state(
+CREATE TABLE IF NOT EXISTS current_state_events(
     event_id TEXT NOT NULL,
-    room_id TEXT NOT NULL,
+    room_id TEXT NOT NULL
 );
 
 CREATE TABLE IF NOT EXISTS room_memberships(