fix: 租户LogoUrl支持长链接

This commit is contained in:
2025-12-15 12:53:38 +08:00
parent 13821f2d19
commit fca8bd989c

View File

@@ -460,7 +460,7 @@ public sealed class TakeoutAppDbContext(
builder.Property(x => x.ContactPhone).HasMaxLength(32); builder.Property(x => x.ContactPhone).HasMaxLength(32);
builder.Property(x => x.ContactEmail).HasMaxLength(128); builder.Property(x => x.ContactEmail).HasMaxLength(128);
builder.Property(x => x.Industry).HasMaxLength(64); builder.Property(x => x.Industry).HasMaxLength(64);
builder.Property(x => x.LogoUrl).HasMaxLength(256); builder.Property(x => x.LogoUrl).HasColumnType("text");
builder.Property(x => x.Remarks).HasMaxLength(512); builder.Property(x => x.Remarks).HasMaxLength(512);
builder.HasIndex(x => x.Code).IsUnique(); builder.HasIndex(x => x.Code).IsUnique();
builder.HasIndex(x => x.ContactPhone).IsUnique(); builder.HasIndex(x => x.ContactPhone).IsUnique();