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.
|
|
6 months ago | |
|---|---|---|
| .. | ||
| Migrations | 2 years ago | |
| FodyWeavers.xml | 3 years ago | |
| FodyWeavers.xsd | 3 years ago | |
| LY.MicroService.TaskManagement.EntityFrameworkCore.csproj | 6 months ago | |
| README.EN.md | 1 year ago | |
| README.md | 1 year ago | |
| TaskManagementDbMigrationEventHandler.cs | 2 years ago | |
| TaskManagementDbMigrationService.cs | 2 years ago | |
| TaskManagementMigrationsDbContext.cs | 3 years ago | |
| TaskManagementMigrationsDbContextFactory.cs | 3 years ago | |
| TaskManagementMigrationsEntityFrameworkCoreModule.cs | 6 months ago | |
README.md
LY.MicroService.TaskManagement.EntityFrameworkCore
任务管理数据迁移模块,提供任务管理系统相关的数据库迁移功能。
功能特性
- 集成SaaS多租户数据迁移
- 集成任务管理数据迁移
- 集成设置管理数据迁移
- 集成权限管理数据迁移
- 集成特性管理数据迁移
- 支持MySQL数据库
模块依赖
[DependsOn(
typeof(AbpSaasEntityFrameworkCoreModule),
typeof(TaskManagementEntityFrameworkCoreModule),
typeof(AbpEntityFrameworkCoreMySQLModule),
typeof(AbpSettingManagementEntityFrameworkCoreModule),
typeof(AbpPermissionManagementEntityFrameworkCoreModule),
typeof(AbpFeatureManagementEntityFrameworkCoreModule),
typeof(AbpDataDbMigratorModule)
)]
配置项
{
"ConnectionStrings": {
"TaskManagementDbMigrator": "你的数据库连接字符串"
}
}
基本用法
-
配置数据库连接字符串
- 在appsettings.json中配置TaskManagementDbMigrator连接字符串
-
添加模块依赖
[DependsOn(typeof(TaskManagementMigrationsEntityFrameworkCoreModule))] public class YourModule : AbpModule { // ... }
数据库表说明
- AbpTasks - 任务基本信息表
- AbpTaskCategories - 任务分类表
- AbpTaskStatuses - 任务状态表
- AbpTaskAssignments - 任务分配表
- Saas相关表 - 租户、版本等多租户相关数据
- AbpSettings - 系统设置数据
- AbpPermissionGrants - 权限授权数据
- AbpFeatures - 功能特性数据