Minor cleanups from CR

Co-authored-by: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
Sumner Evans 2022-04-07 09:20:12 -06:00 committed by Sumner Evans
parent 78c6d57299
commit bd26fc4af9
No known key found for this signature in database
GPG key ID: 8904527AB50022FD
2 changed files with 2 additions and 3 deletions

View file

@ -143,7 +143,6 @@ type Message struct {
db *Database db *Database
log log.Logger log log.Logger
ID int
Chat PortalKey Chat PortalKey
JID types.MessageID JID types.MessageID
MXID id.EventID MXID id.EventID

View file

@ -23,8 +23,8 @@ func init() {
user_mxid TEXT, user_mxid TEXT,
type INTEGER NOT NULL, type INTEGER NOT NULL,
priority INTEGER NOT NULL, priority INTEGER NOT NULL,
portal_jid VARCHAR(255), portal_jid TEXT,
portal_receiver VARCHAR(255), portal_receiver TEXT,
time_start TIMESTAMP, time_start TIMESTAMP,
time_end TIMESTAMP, time_end TIMESTAMP,
max_batch_events INTEGER NOT NULL, max_batch_events INTEGER NOT NULL,