aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Migrations/20241111135439_AddedCustomDataKeyKey.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Server.Implementations/Migrations/20241111135439_AddedCustomDataKeyKey.cs')
-rw-r--r--Jellyfin.Server.Implementations/Migrations/20241111135439_AddedCustomDataKeyKey.cs54
1 files changed, 0 insertions, 54 deletions
diff --git a/Jellyfin.Server.Implementations/Migrations/20241111135439_AddedCustomDataKeyKey.cs b/Jellyfin.Server.Implementations/Migrations/20241111135439_AddedCustomDataKeyKey.cs
deleted file mode 100644
index 4558d7c49..000000000
--- a/Jellyfin.Server.Implementations/Migrations/20241111135439_AddedCustomDataKeyKey.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace Jellyfin.Server.Implementations.Migrations
-{
- /// <inheritdoc />
- public partial class AddedCustomDataKeyKey : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropPrimaryKey(
- name: "PK_UserData",
- table: "UserData");
-
- migrationBuilder.AlterColumn<string>(
- name: "CustomDataKey",
- table: "UserData",
- type: "TEXT",
- nullable: false,
- defaultValue: string.Empty,
- oldClrType: typeof(string),
- oldType: "TEXT",
- oldNullable: true);
-
- migrationBuilder.AddPrimaryKey(
- name: "PK_UserData",
- table: "UserData",
- columns: new[] { "ItemId", "UserId", "CustomDataKey" });
- }
-
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropPrimaryKey(
- name: "PK_UserData",
- table: "UserData");
-
- migrationBuilder.AlterColumn<string>(
- name: "CustomDataKey",
- table: "UserData",
- type: "TEXT",
- nullable: true,
- oldClrType: typeof(string),
- oldType: "TEXT");
-
- migrationBuilder.AddPrimaryKey(
- name: "PK_UserData",
- table: "UserData",
- columns: new[] { "ItemId", "UserId" });
- }
- }
-}