Insert credit payments
This commit is contained in:
@ -8,8 +8,7 @@ public class PaymentsConfiguration : IEntityTypeConfiguration<Payment>
|
||||
public void Configure(EntityTypeBuilder<Payment> builder)
|
||||
{
|
||||
builder.HasKey(a => a.PaymentHash);
|
||||
builder.Property(a => a.Invoice)
|
||||
.IsRequired();
|
||||
builder.Property(a => a.Invoice);
|
||||
|
||||
builder.Property(a => a.IsPaid)
|
||||
.IsRequired();
|
||||
|
Reference in New Issue
Block a user