mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 22:11:48 +01:00
Add MaxLength and remove destination maxlength
This commit is contained in:
parent
47930035a7
commit
811fd98a39
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ namespace BTCPayServer.Data
|
|||
[Required]
|
||||
public string InvoiceDataId { get; set; }
|
||||
[Required]
|
||||
[MaxLength(30)]
|
||||
public string PullPaymentDataId { get; set; }
|
||||
public PullPaymentData PullPaymentData { get; set; }
|
||||
public InvoiceData InvoiceData { get; set; }
|
||||
|
|
|
@ -73,7 +73,7 @@ namespace BTCPayServer.Migrations
|
|||
PullPaymentDataId = table.Column<string>(maxLength: 30, nullable: true),
|
||||
State = table.Column<string>(maxLength: 20, nullable: false),
|
||||
PaymentMethodId = table.Column<string>(maxLength: 20, nullable: false),
|
||||
Destination = table.Column<string>(maxLength: 1000, nullable: true),
|
||||
Destination = table.Column<string>(nullable: true),
|
||||
Blob = table.Column<byte[]>(nullable: true),
|
||||
Proof = table.Column<byte[]>(nullable: true)
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue