Remove redundant SQL from SQLite rebuild migration

This commit is contained in:
2026-04-04 20:37:17 +02:00
parent 2e6951e695
commit 8c413a8ded
3 changed files with 21 additions and 6 deletions

View File

@@ -26,12 +26,6 @@ namespace RpgRoller.Migrations
nullable: true,
oldClrType: typeof(Guid),
oldType: "TEXT");
migrationBuilder.Sql("""
UPDATE Users
SET Roles = 'admin'
WHERE Roles IS NULL OR TRIM(Roles) = '';
""");
}
/// <inheritdoc />