diff --git a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20260522092303_AddNormalizedUsername.cs b/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20260522092303_AddNormalizedUsername.cs
index 4bee8c15b9..21877d1bc2 100644
--- a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20260522092303_AddNormalizedUsername.cs
+++ b/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20260522092303_AddNormalizedUsername.cs
@@ -16,7 +16,8 @@ namespace Jellyfin.Server.Implementations.Migrations
table: "Users",
type: "TEXT",
maxLength: 255,
- nullable: true);
+ nullable: false,
+ defaultValue: string.Empty);
}
///
diff --git a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20260522092305_UpdateNormalizedUsername.cs b/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20260522092305_UpdateNormalizedUsername.cs
deleted file mode 100644
index 4747ea4b38..0000000000
--- a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20260522092305_UpdateNormalizedUsername.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using Jellyfin.Database.Implementations;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace Jellyfin.Server.Implementations.Migrations
-{
- ///
- [DbContext(typeof(JellyfinDbContext))]
- [Migration("20260522092305_UpdateNormalizedUsername")]
- public partial class UpdateNormalizedUsername : Migration
- {
- ///
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- // this is the 3rd part of the NormalizedUsername migration.
- migrationBuilder.AlterColumn(
- name: "NormalizedUsername",
- table: "Users",
- type: "TEXT",
- maxLength: 255,
- nullable: false);
- }
-
- ///
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- }
- }
-}