Fix the first DB table schema.

This commit is contained in:
Nick Barrett 2021-09-17 11:17:53 -04:00
parent e76923481d
commit e2e03784ea
No known key found for this signature in database
GPG Key ID: 31F23F2CF354937B

View File

@ -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)
)`)