mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-03 12:52:56 +01:00
Change BaseItemEntity ChannelId to nullable Guid
This commit is contained in:
1595
Jellyfin.Server.Implementations/Migrations/20250214031148_ChannelIdGuid.Designer.cs
generated
Normal file
1595
Jellyfin.Server.Implementations/Migrations/20250214031148_ChannelIdGuid.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,22 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Jellyfin.Server.Implementations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ChannelIdGuid : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
// NOOP, Guids and strings are stored the same in SQLite.
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
// NOOP, Guids and strings are stored the same in SQLite.
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ namespace Jellyfin.Server.Implementations.Migrations
|
||||
protected override void BuildModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.1");
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.2");
|
||||
|
||||
modelBuilder.Entity("Jellyfin.Data.Entities.AccessSchedule", b =>
|
||||
{
|
||||
@@ -152,7 +152,7 @@ namespace Jellyfin.Server.Implementations.Migrations
|
||||
b.Property<int?>("Audio")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("ChannelId")
|
||||
b.Property<Guid?>("ChannelId")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("CleanName")
|
||||
|
||||
Reference in New Issue
Block a user