diff options
author | techknowlogick <techknowlogick@gitea.io> | 2021-11-22 04:47:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 04:47:23 -0500 |
commit | 499b05da222deff73666f877964d5a92f0f16ac7 (patch) | |
tree | b5920b204e9638609e9b7793f1e2258338c88637 /models/user.go | |
parent | a159c3175f5f60a9de00f4d3c73787ffa6c63ddd (diff) | |
download | gitea-499b05da222deff73666f877964d5a92f0f16ac7.tar.gz gitea-499b05da222deff73666f877964d5a92f0f16ac7.zip |
Add user settings key/value DB table (#16834)
Diffstat (limited to 'models/user.go')
-rw-r--r-- | models/user.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/user.go b/models/user.go index 4231597d42..5e3ee3f601 100644 --- a/models/user.go +++ b/models/user.go @@ -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) } |