diff --git a/sql/17-drop-media-external-link-extra-properties.sql b/sql/17-drop-media-external-link-extra-properties.sql new file mode 100644 index 00000000..9bc77337 --- /dev/null +++ b/sql/17-drop-media-external-link-extra-properties.sql @@ -0,0 +1,2 @@ +-- 移除 AppMediaExternalLink 表的 ExtraProperties 列(ABP 遗留字段,不再需要兼容) +ALTER TABLE AppMediaExternalLink DROP COLUMN ExtraProperties; diff --git a/src/DFApp.Web/Program.cs b/src/DFApp.Web/Program.cs index 1e626bec..f01e171d 100644 --- a/src/DFApp.Web/Program.cs +++ b/src/DFApp.Web/Program.cs @@ -117,8 +117,8 @@ public async static Task Main(string[] args) builder.Services.AddScoped(); builder.Services.AddScoped(); builder.Services.AddScoped(); - builder.Services.AddScoped(); - builder.Services.AddScoped(); + builder.Services.AddScoped(); + builder.Services.AddScoped(); builder.Services.AddScoped(); builder.Services.AddScoped(); builder.Services.AddScoped();