aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Migrations/20200905220533_FixDisplayPreferencesIndex.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Server.Implementations/Migrations/20200905220533_FixDisplayPreferencesIndex.cs')
-rw-r--r--Jellyfin.Server.Implementations/Migrations/20200905220533_FixDisplayPreferencesIndex.cs51
1 files changed, 0 insertions, 51 deletions
diff --git a/Jellyfin.Server.Implementations/Migrations/20200905220533_FixDisplayPreferencesIndex.cs b/Jellyfin.Server.Implementations/Migrations/20200905220533_FixDisplayPreferencesIndex.cs
deleted file mode 100644
index 91d2b190d..000000000
--- a/Jellyfin.Server.Implementations/Migrations/20200905220533_FixDisplayPreferencesIndex.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-#pragma warning disable CS1591
-#pragma warning disable SA1601
-
-using Microsoft.EntityFrameworkCore.Migrations;
-
-namespace Jellyfin.Server.Implementations.Migrations
-{
- public partial class FixDisplayPreferencesIndex : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropIndex(
- name: "IX_DisplayPreferences_UserId",
- schema: "jellyfin",
- table: "DisplayPreferences");
-
- migrationBuilder.CreateIndex(
- name: "IX_DisplayPreferences_UserId",
- schema: "jellyfin",
- table: "DisplayPreferences",
- column: "UserId");
-
- migrationBuilder.CreateIndex(
- name: "IX_DisplayPreferences_UserId_Client",
- schema: "jellyfin",
- table: "DisplayPreferences",
- columns: new[] { "UserId", "Client" },
- unique: true);
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropIndex(
- name: "IX_DisplayPreferences_UserId",
- schema: "jellyfin",
- table: "DisplayPreferences");
-
- migrationBuilder.DropIndex(
- name: "IX_DisplayPreferences_UserId_Client",
- schema: "jellyfin",
- table: "DisplayPreferences");
-
- migrationBuilder.CreateIndex(
- name: "IX_DisplayPreferences_UserId",
- schema: "jellyfin",
- table: "DisplayPreferences",
- column: "UserId",
- unique: true);
- }
- }
-}