Commit graph

9 commits

Author SHA1 Message Date
Alex 669c2c1c28 Actually gorm:"type:text" was useless
With the Postgres backend, strings will use text by default.
Using varchar(255) by default (which is stupid) is done only for sqlite,
which doesn't care about the type anyways.
2020-02-28 17:00:53 +01:00
Alex eaf245e3ee Fix db models to use text instead of varchar; remove unused columns & fix index names 2020-02-28 16:55:45 +01:00
Alex 5398e9fc0f Handle matrix left events correctly (hopefully) 2020-02-28 12:16:59 +01:00
Alex d03091dd01 Add LRU cache for some DB operations 2020-02-28 11:06:43 +01:00
Alex 8668b12a81 Rename DbCache to DbKv 2020-02-28 10:34:22 +01:00
Alex 19975e981e Logging done better 2020-02-27 10:35:09 +01:00
Alex f675ba57e4 Implement account configuration save/load from db 2020-02-26 20:21:32 +01:00
Alex f3f1b8d981 Room autorejoin 2020-02-26 16:30:10 +01:00
Alex 67c7f7361d Move appservice/ to / 2020-02-26 16:07:33 +01:00
Renamed from appservice/db.go (Browse further)