From 9f1a786f0b2e1d3a6c59202acce6f120318fffb1 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Mon, 31 Jul 2017 16:27:49 +0100 Subject: [PATCH] Fix typo in table name --- .../matrix-org/dendrite/syncapi/storage/account_data_table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1668d995f..d1f25fca8 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 @@ -38,7 +38,7 @@ CREATE TABLE IF NOT EXISTS account_data_type ( CONSTRAINT account_data_unique UNIQUE (user_id, room_id, type) ); -CREATE UNIQUE INDEX IF NOT EXISTS account_data_id_idx ON account_data(id); +CREATE UNIQUE INDEX IF NOT EXISTS account_data_id_idx ON account_data_type(id); ` const insertAccountDataSQL = "" +