Fix mysql migration

This commit is contained in:
nicolas.dorier 2020-02-13 23:58:48 +09:00
parent db6a4687d2
commit a2d657f5cb
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -40,6 +40,11 @@ namespace BTCPayServer.Migrations
onDelete: ReferentialAction.Restrict);
});
if (this.IsMySql(migrationBuilder.ActiveProvider))
{
migrationBuilder.AlterColumn<string>(name: "Id", table: "AspNetUsers", maxLength: maxLength);
}
migrationBuilder.CreateTable(
name: "OpenIddictScopes",
columns: table => new