Remove redundant SQL from SQLite rebuild migration
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user