Fix indentation

This commit is contained in:
Brendan Abolivier 2017-08-02 14:47:17 +01:00
parent 9f1a786f0b
commit 1ff35b5998
No known key found for this signature in database
GPG key ID: 8EF1500759F70623

View file

@ -27,12 +27,12 @@ CREATE TABLE IF NOT EXISTS account_data_type (
id BIGINT,
-- ID of the user the data belongs to
user_id TEXT NOT NULL,
-- ID of the room the data is related to (empty string if not related to a specific room)
room_id TEXT NOT NULL,
-- ID of the room the data is related to (empty string if not related to a specific room)
room_id TEXT NOT NULL,
-- Type of the data
type TEXT NOT NULL,
PRIMARY KEY(user_id, room_id, type),
PRIMARY KEY(user_id, room_id, type),
-- We don't want two entries of the same type for the same user
CONSTRAINT account_data_unique UNIQUE (user_id, room_id, type)