Add profile backgroundImage api

This commit is contained in:
Johannes Zellner
2022-05-14 19:41:32 +02:00
parent c5c62ff294
commit 6bd478b8b0
6 changed files with 63 additions and 1 deletions
+1
View File
@@ -33,6 +33,7 @@ CREATE TABLE IF NOT EXISTS users(
resetTokenCreationTime TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
active BOOLEAN DEFAULT 1,
avatar MEDIUMBLOB NOT NULL,
backgroundImage MEDIUMBLOB,
loginLocationsJson MEDIUMTEXT, // { locations: [{ ip, userAgent, city, country, ts }] }
INDEX creationTime_index (creationTime),