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.RealtimeMessage.EntityFrameworkCore.csproj | 6 months ago | |
| README.EN.md | 1 year ago | |
| README.md | 1 year ago | |
| RealtimeMessageDbMigrationEventHandler.cs | 2 years ago | |
| RealtimeMessageDbMigrationService.cs | 2 years ago | |
| RealtimeMessageMigrationsDbContext.cs | 3 years ago | |
| RealtimeMessageMigrationsDbContextFactory.cs | 3 years ago | |
| RealtimeMessageMigrationsEntityFrameworkCoreModule.cs | 6 months ago | |
README.md
LY.MicroService.RealtimeMessage.EntityFrameworkCore
实时消息数据迁移模块,提供实时消息和通知系统相关的数据库迁移功能。
功能特性
- 集成SaaS多租户数据迁移
- 集成通知系统数据迁移
- 集成消息服务数据迁移
- 集成文本模板数据迁移
- 集成设置管理数据迁移
- 集成权限管理数据迁移
- 集成特性管理数据迁移
- 支持MySQL数据库
模块依赖
[DependsOn(
typeof(AbpSaasEntityFrameworkCoreModule),
typeof(AbpNotificationsEntityFrameworkCoreModule),
typeof(AbpMessageServiceEntityFrameworkCoreModule),
typeof(AbpTextTemplatingEntityFrameworkCoreModule),
typeof(AbpSettingManagementEntityFrameworkCoreModule),
typeof(AbpPermissionManagementEntityFrameworkCoreModule),
typeof(AbpFeatureManagementEntityFrameworkCoreModule),
typeof(AbpDataDbMigratorModule)
)]
配置项
{
"ConnectionStrings": {
"RealtimeMessageDbMigrator": "你的数据库连接字符串"
}
}
基本用法
-
配置数据库连接字符串
- 在appsettings.json中配置RealtimeMessageDbMigrator连接字符串
-
添加模块依赖
[DependsOn(typeof(RealtimeMessageMigrationsEntityFrameworkCoreModule))] public class YourModule : AbpModule { // ... }
数据库表说明
- AbpNotifications - 通知系统数据表
- AbpNotificationsDefinition - 通知定义数据表
- AbpMessageService - 消息服务数据表
- Saas相关表 - 租户、版本等多租户相关数据
- AbpSettings - 系统设置数据
- AbpPermissionGrants - 权限授权数据
- AbpFeatures - 功能特性数据
- AbpTextTemplates - 文本模板数据