From fca8bd989c5ecd51c62bb7b4e0e626086e5ac2d1 Mon Sep 17 00:00:00 2001 From: MSuMshk <2039814060@qq.com> Date: Mon, 15 Dec 2025 12:53:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=9F=E6=88=B7LogoUrl=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E9=95=BF=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../App/Persistence/TakeoutAppDbContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/TakeoutSaaS.Infrastructure/App/Persistence/TakeoutAppDbContext.cs b/src/Infrastructure/TakeoutSaaS.Infrastructure/App/Persistence/TakeoutAppDbContext.cs index b8be890..990feb1 100644 --- a/src/Infrastructure/TakeoutSaaS.Infrastructure/App/Persistence/TakeoutAppDbContext.cs +++ b/src/Infrastructure/TakeoutSaaS.Infrastructure/App/Persistence/TakeoutAppDbContext.cs @@ -460,7 +460,7 @@ public sealed class TakeoutAppDbContext( builder.Property(x => x.ContactPhone).HasMaxLength(32); builder.Property(x => x.ContactEmail).HasMaxLength(128); 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.HasIndex(x => x.Code).IsUnique(); builder.HasIndex(x => x.ContactPhone).IsUnique();