aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2021-03-19 00:26:07 -0400
committerPatrick Barron <barronpm@gmail.com>2021-03-25 19:51:27 -0400
commitdaa21c9e99a8b7b6e9a76c130f8e0943692bd1da (patch)
treecd5bfd2443e0ea5130bd82fa9eb2191f4e8f96d6 /Jellyfin.Data
parentea0a9c2cca4fd0f6ff84f79420281a7738602e60 (diff)
Add migration
Diffstat (limited to 'Jellyfin.Data')
-rw-r--r--Jellyfin.Data/Entities/Permission.cs2
-rw-r--r--Jellyfin.Data/Entities/Preference.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Data/Entities/Permission.cs b/Jellyfin.Data/Entities/Permission.cs
index 2c5894318..6d2e68077 100644
--- a/Jellyfin.Data/Entities/Permission.cs
+++ b/Jellyfin.Data/Entities/Permission.cs
@@ -37,7 +37,7 @@ namespace Jellyfin.Data.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 permission.
diff --git a/Jellyfin.Data/Entities/Preference.cs b/Jellyfin.Data/Entities/Preference.cs
index a7d93f32c..a6ab275d3 100644
--- a/Jellyfin.Data/Entities/Preference.cs
+++ b/Jellyfin.Data/Entities/Preference.cs
@@ -35,7 +35,7 @@ namespace Jellyfin.Data.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.