diff --git a/BTCPayServer.Data/Migrations/20190225091644_AddOpenIddict.cs b/BTCPayServer.Data/Migrations/20190225091644_AddOpenIddict.cs index 2e75a3523..9ba5de138 100644 --- a/BTCPayServer.Data/Migrations/20190225091644_AddOpenIddict.cs +++ b/BTCPayServer.Data/Migrations/20190225091644_AddOpenIddict.cs @@ -40,6 +40,11 @@ namespace BTCPayServer.Migrations onDelete: ReferentialAction.Restrict); }); + if (this.IsMySql(migrationBuilder.ActiveProvider)) + { + migrationBuilder.AlterColumn(name: "Id", table: "AspNetUsers", maxLength: maxLength); + } + migrationBuilder.CreateTable( name: "OpenIddictScopes", columns: table => new