mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 22:11:48 +01:00
Revert fix mysql
This commit is contained in:
parent
ee9905e85a
commit
5d817a0483
1 changed files with 1 additions and 2 deletions
|
@ -27,8 +27,7 @@ namespace BTCPayServer.Migrations
|
|||
Properties = table.Column<string>(nullable: true),
|
||||
RedirectUris = table.Column<string>(nullable: true),
|
||||
Type = table.Column<string>(maxLength: 25, nullable: false),
|
||||
// do not set the maxLength, else http://MySql.Data.MySqlClient.MySqlException (0x80004005): Can't create table `btcpay`.`OpenIddictApplications` (errno: 150 "Foreign key constraint is incorrectly formed")
|
||||
ApplicationUserId = table.Column<string>(nullable: true)
|
||||
ApplicationUserId = table.Column<string>(nullable: true, maxLength: maxLength)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue