mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Fix mysql migration
This commit is contained in:
parent
db6a4687d2
commit
a2d657f5cb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user