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.
|
|
1 year ago | |
|---|---|---|
| .. | ||
| DataSeeder | 2 years ago | |
| Migrations | 2 years ago | |
| FodyWeavers.xml | 3 years ago | |
| FodyWeavers.xsd | 3 years ago | |
| IdentityServerDbMigrationEventHandler.cs | 2 years ago | |
| IdentityServerDbMigrationService.cs | 2 years ago | |
| IdentityServerMigrationsDbContext.cs | 3 years ago | |
| IdentityServerMigrationsDbContextFactory.cs | 3 years ago | |
| IdentityServerMigrationsEntityFrameworkCoreModule.cs | 2 years ago | |
| LY.MicroService.IdentityServer.EntityFrameworkCore.csproj | 2 years ago | |
| README.EN.md | 1 year ago | |
| README.md | 1 year ago | |
README.md
LY.MicroService.IdentityServer.EntityFrameworkCore
身份认证服务器数据迁移模块,提供IdentityServer的数据库迁移功能。
功能特性
- 集成ABP Identity数据迁移
- 集成IdentityServer数据迁移
- 集成权限管理数据迁移
- 集成设置管理数据迁移
- 集成特性管理数据迁移
- 集成文本模板数据迁移
- 集成SaaS多租户数据迁移
- 支持MySQL数据库
模块依赖
[DependsOn(
typeof(AbpSaasEntityFrameworkCoreModule),
typeof(AbpIdentityEntityFrameworkCoreModule),
typeof(AbpIdentityServerEntityFrameworkCoreModule),
typeof(AbpPermissionManagementEntityFrameworkCoreModule),
typeof(AbpSettingManagementEntityFrameworkCoreModule),
typeof(AbpFeatureManagementEntityFrameworkCoreModule),
typeof(AbpPermissionManagementEntityFrameworkCoreModule),
typeof(AbpTextTemplatingEntityFrameworkCoreModule),
typeof(AbpWeChatModule),
typeof(AbpDataDbMigratorModule)
)]
配置项
{
"ConnectionStrings": {
"IdentityServerDbMigrator": "你的数据库连接字符串"
}
}
基本用法
-
配置数据库连接字符串
- 在appsettings.json中配置IdentityServerDbMigrator连接字符串
-
添加模块依赖
[DependsOn(typeof(IdentityServerMigrationsEntityFrameworkCoreModule))] public class YourModule : AbpModule { // ... }
数据库表说明
- Identity相关表 - 用户、角色、声明等身份认证相关数据
- IdentityServer相关表 - 客户端、API资源、身份资源等OAuth/OpenID Connect相关数据
- AbpPermissionGrants - 权限授权数据
- AbpSettings - 系统设置数据
- AbpFeatures - 功能特性数据
- AbpTextTemplates - 文本模板数据
- Saas相关表 - 租户、版本等多租户相关数据