From a7b926d907f53d3e8d7c7682af3736da15b9122f Mon Sep 17 00:00:00 2001 From: ketominer Date: Sun, 19 Apr 2020 13:48:05 +0200 Subject: [PATCH] fixed Address field size (back) --- .../Migrations/20171024163354_RenewUsedAddresses.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) },