From e2e03784ea893f79ff40da019596041e3458be2a Mon Sep 17 00:00:00 2001 From: Nick Barrett Date: Fri, 17 Sep 2021 11:17:53 -0400 Subject: [PATCH] Fix the first DB table schema. --- database/upgrades/2018-09-01-initial-schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/upgrades/2018-09-01-initial-schema.go b/database/upgrades/2018-09-01-initial-schema.go index 348cc26..ca16b58 100644 --- a/database/upgrades/2018-09-01-initial-schema.go +++ b/database/upgrades/2018-09-01-initial-schema.go @@ -15,7 +15,7 @@ func init() { topic VARCHAR(512) NOT NULL, avatar VARCHAR(255) NOT NULL, avatar_url VARCHAR(255), - encrypted BOOLEAN NOT NULL DEFAULT false + encrypted BOOLEAN NOT NULL DEFAULT false, PRIMARY KEY (jid, receiver) )`)