users: add unset route for avatar
also add missing tests for avatar and profile locking
This commit is contained in:
@@ -32,7 +32,7 @@ CREATE TABLE IF NOT EXISTS users(
|
||||
resetToken VARCHAR(128) DEFAULT "",
|
||||
resetTokenCreationTime TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
active BOOLEAN DEFAULT 1,
|
||||
avatar MEDIUMBLOB NOT NULL,
|
||||
avatar MEDIUMBLOB,
|
||||
backgroundImage MEDIUMBLOB,
|
||||
loginLocationsJson MEDIUMTEXT, // { locations: [{ ip, userAgent, city, country, ts }] }
|
||||
notificationConfigJson TEXT,
|
||||
|
||||
Reference in New Issue
Block a user