20230923170422_UserCastReceiver.cs 782 B

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