From 1ff35b5998929bd3df2aaf1b6de9b7d7f5516257 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Wed, 2 Aug 2017 14:47:17 +0100 Subject: [PATCH] Fix indentation --- .../dendrite/syncapi/storage/account_data_table.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/syncapi/storage/account_data_table.go b/src/github.com/matrix-org/dendrite/syncapi/storage/account_data_table.go index d1f25fca8..f95e48583 100644 --- a/src/github.com/matrix-org/dendrite/syncapi/storage/account_data_table.go +++ b/src/github.com/matrix-org/dendrite/syncapi/storage/account_data_table.go @@ -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)