From ec41df34c32ef37788ae8ec5e366d009b665e2f3 Mon Sep 17 00:00:00 2001 From: feijie Date: Thu, 12 Dec 2024 23:23:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20delete(appsettings.Post?= =?UTF-8?q?greSql.json):=20=E5=88=A0=E9=99=A4=20PostgreSQL=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E4=BB=A5=E4=BC=98=E5=8C=96=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E9=85=8D=E7=BD=AE=E7=AE=A1=E7=90=86=20=F0=9F=94=84=20?= =?UTF-8?q?rename(appsettings.Development.json):=20=E9=87=8D=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=BA=20appsettings.MySql.json=20?= =?UTF-8?q?=F0=9F=94=A7=20update(SingleMigrationsDbContextFactory.cs):=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=95=B0=E6=8D=AE=E5=BA=93=E4=B8=8A=E4=B8=8B?= =?UTF-8?q?=E6=96=87=E5=B7=A5=E5=8E=82=E4=BB=A5=E4=BD=BF=E7=94=A8=20MySql?= =?UTF-8?q?=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...vice.Applications.Single.DbMigrator.csproj | 13 - ...evelopment.json => appsettings.MySql.json} | 0 .../SingleMigrationsDbContextFactory.cs | 2 +- .../appsettings.PostgreSql.json | 246 ------------------ 4 files changed, 1 insertion(+), 260 deletions(-) rename aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/{appsettings.Development.json => appsettings.MySql.json} (100%) delete mode 100644 aspnet-core/services/LY.MicroService.Applications.Single/appsettings.PostgreSql.json diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/LY.MicroService.Applications.Single.DbMigrator.csproj b/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/LY.MicroService.Applications.Single.DbMigrator.csproj index d2195682d..9eb63519f 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/LY.MicroService.Applications.Single.DbMigrator.csproj +++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/LY.MicroService.Applications.Single.DbMigrator.csproj @@ -42,19 +42,6 @@ - - - PreserveNewest - true - PreserveNewest - - - - - - - - diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.Development.json b/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.MySql.json similarity index 100% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.Development.json rename to aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.MySql.json diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs index c90580072..0916c22a7 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs +++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs @@ -24,7 +24,7 @@ public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory