diff options
| author | Patrick Barron <barronpm@gmail.com> | 2020-07-17 19:36:55 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2020-07-17 19:36:55 -0400 |
| commit | 27eefd49f1011a9be3be4f18069942cd484c1530 (patch) | |
| tree | 3358c7be20802ddff3cdbe9d73eddc4a43bf6932 /Jellyfin.Server.Implementations | |
| parent | d8060849376ae8e1cf309b04e01a24bdc6089c58 (diff) | |
Add missing fields
Diffstat (limited to 'Jellyfin.Server.Implementations')
| -rw-r--r-- | Jellyfin.Server.Implementations/Migrations/20200717233541_AddDisplayPreferences.Designer.cs (renamed from Jellyfin.Server.Implementations/Migrations/20200630170339_AddDisplayPreferences.Designer.cs) | 21 | ||||
| -rw-r--r-- | Jellyfin.Server.Implementations/Migrations/20200717233541_AddDisplayPreferences.cs (renamed from Jellyfin.Server.Implementations/Migrations/20200630170339_AddDisplayPreferences.cs) | 13 | ||||
| -rw-r--r-- | Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs | 15 |
3 files changed, 37 insertions, 12 deletions
diff --git a/Jellyfin.Server.Implementations/Migrations/20200630170339_AddDisplayPreferences.Designer.cs b/Jellyfin.Server.Implementations/Migrations/20200717233541_AddDisplayPreferences.Designer.cs index 75f9bb7a3c..cf6b166172 100644 --- a/Jellyfin.Server.Implementations/Migrations/20200630170339_AddDisplayPreferences.Designer.cs +++ b/Jellyfin.Server.Implementations/Migrations/20200717233541_AddDisplayPreferences.Designer.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS1591 - -// <auto-generated /> +// <auto-generated /> using System; using Jellyfin.Server.Implementations; using Microsoft.EntityFrameworkCore; @@ -11,7 +9,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Jellyfin.Server.Implementations.Migrations { [DbContext(typeof(JellyfinDb))] - [Migration("20200630170339_AddDisplayPreferences")] + [Migration("20200717233541_AddDisplayPreferences")] partial class AddDisplayPreferences { protected override void BuildTargetModel(ModelBuilder modelBuilder) @@ -98,11 +96,17 @@ namespace Jellyfin.Server.Implementations.Migrations .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); + b.Property<int>("ChromecastVersion") + .HasColumnType("INTEGER"); + b.Property<string>("Client") .IsRequired() .HasColumnType("TEXT") .HasMaxLength(64); + b.Property<bool>("EnableNextVideoInfoOverlay") + .HasColumnType("INTEGER"); + b.Property<int?>("IndexBy") .HasColumnType("INTEGER"); @@ -124,8 +128,15 @@ namespace Jellyfin.Server.Implementations.Migrations b.Property<bool>("ShowSidebar") .HasColumnType("INTEGER"); + b.Property<int>("SkipBackwardLength") + .HasColumnType("INTEGER"); + + b.Property<int>("SkipForwardLength") + .HasColumnType("INTEGER"); + b.Property<string>("SortBy") - .HasColumnType("TEXT"); + .HasColumnType("TEXT") + .HasMaxLength(64); b.Property<int>("SortOrder") .HasColumnType("INTEGER"); diff --git a/Jellyfin.Server.Implementations/Migrations/20200630170339_AddDisplayPreferences.cs b/Jellyfin.Server.Implementations/Migrations/20200717233541_AddDisplayPreferences.cs index e9a493d9db..3cfd02e070 100644 --- a/Jellyfin.Server.Implementations/Migrations/20200630170339_AddDisplayPreferences.cs +++ b/Jellyfin.Server.Implementations/Migrations/20200717233541_AddDisplayPreferences.cs @@ -1,7 +1,4 @@ -#pragma warning disable CS1591 -#pragma warning disable SA1601 - -using System; +using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Jellyfin.Server.Implementations.Migrations @@ -25,10 +22,14 @@ namespace Jellyfin.Server.Implementations.Migrations SortOrder = table.Column<int>(nullable: false), ShowSidebar = table.Column<bool>(nullable: false), ShowBackdrop = table.Column<bool>(nullable: false), - SortBy = table.Column<string>(nullable: true), + SortBy = table.Column<string>(maxLength: 64, nullable: true), ViewType = table.Column<int>(nullable: true), ScrollDirection = table.Column<int>(nullable: false), - IndexBy = table.Column<int>(nullable: true) + IndexBy = table.Column<int>(nullable: true), + SkipForwardLength = table.Column<int>(nullable: false), + SkipBackwardLength = table.Column<int>(nullable: false), + ChromecastVersion = table.Column<int>(nullable: false), + EnableNextVideoInfoOverlay = table.Column<bool>(nullable: false) }, constraints: table => { diff --git a/Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs b/Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs index 69b544e5ba..76de592ac7 100644 --- a/Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs +++ b/Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs @@ -94,11 +94,17 @@ namespace Jellyfin.Server.Implementations.Migrations .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); + b.Property<int>("ChromecastVersion") + .HasColumnType("INTEGER"); + b.Property<string>("Client") .IsRequired() .HasColumnType("TEXT") .HasMaxLength(64); + b.Property<bool>("EnableNextVideoInfoOverlay") + .HasColumnType("INTEGER"); + b.Property<int?>("IndexBy") .HasColumnType("INTEGER"); @@ -120,8 +126,15 @@ namespace Jellyfin.Server.Implementations.Migrations b.Property<bool>("ShowSidebar") .HasColumnType("INTEGER"); + b.Property<int>("SkipBackwardLength") + .HasColumnType("INTEGER"); + + b.Property<int>("SkipForwardLength") + .HasColumnType("INTEGER"); + b.Property<string>("SortBy") - .HasColumnType("TEXT"); + .HasColumnType("TEXT") + .HasMaxLength(64); b.Property<int>("SortOrder") .HasColumnType("INTEGER"); |
