From 357a633d0ef07eb8cfea91d06c9858879bae6060 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Thu, 8 Aug 2019 13:57:50 +0200 Subject: [PATCH] [Store] Fix scheme --- lib/src/Store.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/Store.dart b/lib/src/Store.dart index 7a957f3..a6ba46a 100644 --- a/lib/src/Store.dart +++ b/lib/src/Store.dart @@ -466,7 +466,7 @@ class Store { 'joined_member_count INTEGER, ' + 'invited_member_count INTEGER, ' + 'heroes TEXT, ' + - 'UNIQUE(id))', + 'UNIQUE(room_id))', /// The database scheme for the TimelineEvent class. 'Events': 'CREATE TABLE IF NOT EXISTS Events(' + @@ -480,7 +480,7 @@ class Store { 'prev_content TEXT, ' + 'state_key TEXT, ' + "status INTEGER, " + - 'UNIQUE(id))', + 'UNIQUE(event_id))', /// The database scheme for room states. 'State': 'CREATE TABLE IF NOT EXISTS State(' +