1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 18:17:19 +00:00

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
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)
}