[PR #13494] [MERGED] Make StartDate/EndDate nullable #13423

Closed
opened 2025-12-22 09:51:18 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/13494
Author: @gnattu
Created: 2/4/2025
Status: Merged
Merged: 2/5/2025
Merged by: @crobibero

Base: masterHead: mark-startenddate-nullable


📝 Commits (1)

  • 98d4004 Make StartDate/EndDate nullable

📊 Changes

5 files changed (+1657 additions, -7 deletions)

View changed files

📝 Jellyfin.Data/Entities/BaseItemEntity.cs (+2 -2)
📝 Jellyfin.Server.Implementations/Item/BaseItemRepository.cs (+2 -2)
Jellyfin.Server.Implementations/Migrations/20250204092455_MakeStartEndDateNullable.Designer.cs (+1595 -0)
Jellyfin.Server.Implementations/Migrations/20250204092455_MakeStartEndDateNullable.cs (+55 -0)
📝 Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs (+3 -3)

📄 Description

These dates are used as birth date and death date for person (ask Luke for why) and a non-nullable column would cause the null date become 1901-01-01, making all living people dead.

Changes

Issues

Fixes #13157


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/13494 **Author:** [@gnattu](https://github.com/gnattu) **Created:** 2/4/2025 **Status:** ✅ Merged **Merged:** 2/5/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `mark-startenddate-nullable` --- ### 📝 Commits (1) - [`98d4004`](https://github.com/jellyfin/jellyfin/commit/98d4004e945432538e9469907205e2d7da657fda) Make StartDate/EndDate nullable ### 📊 Changes **5 files changed** (+1657 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Data/Entities/BaseItemEntity.cs` (+2 -2) 📝 `Jellyfin.Server.Implementations/Item/BaseItemRepository.cs` (+2 -2) ➕ `Jellyfin.Server.Implementations/Migrations/20250204092455_MakeStartEndDateNullable.Designer.cs` (+1595 -0) ➕ `Jellyfin.Server.Implementations/Migrations/20250204092455_MakeStartEndDateNullable.cs` (+55 -0) 📝 `Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs` (+3 -3) </details> ### 📄 Description These dates are used as birth date and death date for person (ask Luke for why) and a non-nullable column would cause the null date become 1901-01-01, making all living people dead. <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Fixes #13157 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 09:51:18 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#13423
No description provided.