using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Jellyfin.Server.Implementations.Migrations { /// public partial class AddNormalizedUsername : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "NormalizedUsername", table: "Users", type: "TEXT", maxLength: 255, nullable: false, defaultValue: string.Empty); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.Sql("ALTER TABLE Users DROP COLUMN NormalizedUsername;"); migrationBuilder.Sql( @"DELETE FROM __EFMigrationsHistory WHERE MigrationId = '20260522092304_UpdateNormalizedUsername'"); } } }