diff options
| author | Tim Eisele <Ghost_of_Stone@web.de> | 2026-08-20 18:35:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-20 18:35:26 +0200 |
| commit | fb50b4df8b5e6dec9567772aa8baecfbccb34124 (patch) | |
| tree | 1c773cd19a387a0722fa3e205faced0f88ff6320 /src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/Preference.cs | |
| parent | c70933a23f45379557c941ebe1b98abff0cf3cb2 (diff) | |
Stop user updates from orphaning permission and preference rows (#17645)
* Stop user updates from orphaning permission and preference rows
* Make UserId non-nullable
* Remove unnecessary ToList
* Update Jellyfin.Server.Implementations/Users/UserManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
---------
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Diffstat (limited to 'src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/Preference.cs')
| -rw-r--r-- | src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/Preference.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/Preference.cs b/src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/Preference.cs index c02ea7375a..9bd159f2cf 100644 --- a/src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/Preference.cs +++ b/src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/Preference.cs @@ -35,7 +35,7 @@ namespace Jellyfin.Database.Implementations.Entities /// <summary> /// Gets or sets the id of the associated user. /// </summary> - public Guid? UserId { get; set; } + public Guid UserId { get; set; } /// <summary> /// Gets the type of this preference. |
