fix: tenants 联系电话唯一索引
This commit is contained in:
@@ -458,6 +458,7 @@ public sealed class TakeoutAppDbContext(
|
||||
builder.Property(x => x.LogoUrl).HasMaxLength(256);
|
||||
builder.Property(x => x.Remarks).HasMaxLength(512);
|
||||
builder.HasIndex(x => x.Code).IsUnique();
|
||||
builder.HasIndex(x => x.ContactPhone).IsUnique();
|
||||
}
|
||||
|
||||
private static void ConfigureTenantVerificationProfile(EntityTypeBuilder<TenantVerificationProfile> builder)
|
||||
|
||||
Reference in New Issue
Block a user