You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
557 B
18 lines
557 B
using LY.MicroService.IdentityServer.DbMigrator.EntityFrameworkCore;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.EntityFrameworkCore;
|
|
|
|
namespace LY.MicroService.IdentityServer.DbMigrator;
|
|
public partial class IdentityServerDbMigratorModule
|
|
{
|
|
private void ConfigureDbContext(IServiceCollection services)
|
|
{
|
|
services.AddAbpDbContext<IdentityServerMigrationsDbContext>();
|
|
|
|
// 配置Ef
|
|
Configure<AbpDbContextOptions>(options =>
|
|
{
|
|
options.UseMySQL();
|
|
});
|
|
}
|
|
}
|
|
|