From aee87bb51278f6f58955987f3fbc3b3696702efa Mon Sep 17 00:00:00 2001 From: wxd <123@qq.com> Date: Mon, 17 Nov 2025 19:29:25 +0800 Subject: [PATCH] 1 --- .../Migrations/PeisDbContextModelSnapshot.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs b/src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs index 9bdaa94..92735f8 100644 --- a/src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs +++ b/src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs @@ -1722,6 +1722,7 @@ namespace Shentun.Peis.Migrations b.HasIndex("PayModeId"); b.HasIndex(new[] { "ChargeBackId", "PayModeId" }, "IX_charge_back_pay_pay_mode_id") + .IsUnique() .HasDatabaseName("IX_charge_back_pay_pay_mode_id1"); b.ToTable("charge_back_pay");