Fix porting theme to preferences so that it works for users who never set their theme (#3592)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
caabfbcdd5
Коммит
a04a984424
@@ -83,7 +83,9 @@ func (us SqlUserStore) UpgradeSchemaIfNeeded() {
|
||||
SELECT
|
||||
Id, '`+model.PREFERENCE_CATEGORY_THEME+`', '', ThemeProps
|
||||
FROM
|
||||
Users`, params); err != nil {
|
||||
Users
|
||||
WHERE
|
||||
Users.ThemeProps != 'null'`, params); err != nil {
|
||||
themeMigrationFailed(err)
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user