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
|
SELECT
|
||||||
Id, '`+model.PREFERENCE_CATEGORY_THEME+`', '', ThemeProps
|
Id, '`+model.PREFERENCE_CATEGORY_THEME+`', '', ThemeProps
|
||||||
FROM
|
FROM
|
||||||
Users`, params); err != nil {
|
Users
|
||||||
|
WHERE
|
||||||
|
Users.ThemeProps != 'null'`, params); err != nil {
|
||||||
themeMigrationFailed(err)
|
themeMigrationFailed(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user