Browse Source

chore: 删除 MySql 配置文件并更新解决方案文件以包含迁移脚本

pull/1048/head
feijie 1 year ago
parent
commit
5ecdbcdc7c
  1. 4
      aspnet-core/LINGYUN.MicroService.SingleProject.sln
  2. 9
      aspnet-core/LY.MicroService.Applications.Single.DbMigrator/appsettings.MySql.json

4
aspnet-core/LINGYUN.MicroService.SingleProject.sln

@ -439,6 +439,10 @@ EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AspNetCore.HttpOverrides", "framework\common\LINGYUN.Abp.AspNetCore.HttpOverrides\LINGYUN.Abp.AspNetCore.HttpOverrides.csproj", "{D67EBE62-C541-45E4-957E-D1D11BE74F68}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "single-project", "single-project", "{0D69B63D-F082-4D57-9FF0-355642C56993}"
ProjectSection(SolutionItems) = preProject
migrations\Migrate.ps1 = migrations\Migrate.ps1
migrations\MigrateEn.ps1 = migrations\MigrateEn.ps1
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LY.MicroService.Applications.Single.EntityFrameworkCore", "migrations\LY.MicroService.Applications.Single.EntityFrameworkCore\LY.MicroService.Applications.Single.EntityFrameworkCore.csproj", "{7623D363-F0BD-400C-B8AB-3FD9699D92D9}"
EndProject

9
aspnet-core/LY.MicroService.Applications.Single.DbMigrator/appsettings.MySql.json

@ -1,9 +0,0 @@
{
"ConnectionStrings": {
"Default": "Server=localhost;Port=3306;Database=SingleService;Uid=root;Pwd=myPassword;",
"AbpAuditLogging": "Server=localhost;Port=3306;Database=SingleService_AuditLogs;Uid=root;Pwd=myPassword;",
"AbpFeatureManagement": "Server=localhost;Port=3306;Database=SingleService_Features;Uid=root;Pwd=myPassword;",
"AbpPermissionManagement": "Server=localhost;Port=3306;Database=SingleService_Permissions;Uid=root;Pwd=myPassword;",
"AbpSettingManagement": "Server=localhost;Port=3306;Database=SingleService_Settings;Uid=root;Pwd=myPassword;"
}
}
Loading…
Cancel
Save