diff --git a/BTCPayServer.Data/Migrations/20171024163354_RenewUsedAddresses.cs b/BTCPayServer.Data/Migrations/20171024163354_RenewUsedAddresses.cs index aca81f50c..ae308e5c1 100644 --- a/BTCPayServer.Data/Migrations/20171024163354_RenewUsedAddresses.cs +++ b/BTCPayServer.Data/Migrations/20171024163354_RenewUsedAddresses.cs @@ -23,7 +23,7 @@ namespace BTCPayServer.Migrations columns: table => new { InvoiceDataId = table.Column(nullable: false, maxLength: maxLength), - Address = table.Column(nullable: false, maxLength: 250), + Address = table.Column(nullable: false, maxLength: this.IsMySql(migrationBuilder.ActiveProvider) ? (int?)512 : null), Assigned = table.Column(nullable: false), UnAssigned = table.Column(nullable: true) },