diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-14 18:40:50 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-14 18:40:50 +0100 |
commit | 2c46bb620828efaebdbae37e5212a28b505ee72d (patch) | |
tree | 9b10dfb00f35b00f9b6e6d49feb22a5e9207ce19 /synapse/storage/schema | |
parent | Update StreamStore (diff) | |
download | synapse-2c46bb620828efaebdbae37e5212a28b505ee72d.tar.xz |
Fix up typos and correct sql queries
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/im.sql | 4 |
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( |