Add user settings key/value DB table (#16834)

This commit is contained in:
techknowlogick 2021-11-22 04:47:23 -05:00 committed by GitHub
parent a159c3175f
commit 499b05da22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 198 additions and 2 deletions

View file

@ -1192,6 +1192,7 @@ func DeleteUser(ctx context.Context, u *User) (err error) {
&TeamUser{UID: u.ID},
&Collaboration{UserID: u.ID},
&Stopwatch{UserID: u.ID},
&user_model.Setting{UserID: u.ID},
); err != nil {
return fmt.Errorf("deleteBeans: %v", err)
}