20241111131257_AddedCustomDataKey.cs 757 B

12345678910111213141516171819202122232425262728
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace Jellyfin.Server.Implementations.Migrations
  4. {
  5. /// <inheritdoc />
  6. public partial class AddedCustomDataKey : Migration
  7. {
  8. /// <inheritdoc />
  9. protected override void Up(MigrationBuilder migrationBuilder)
  10. {
  11. migrationBuilder.AddColumn<string>(
  12. name: "CustomDataKey",
  13. table: "UserData",
  14. type: "TEXT",
  15. nullable: true);
  16. }
  17. /// <inheritdoc />
  18. protected override void Down(MigrationBuilder migrationBuilder)
  19. {
  20. migrationBuilder.DropColumn(
  21. name: "CustomDataKey",
  22. table: "UserData");
  23. }
  24. }
  25. }