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.9 KiB
1.9 KiB
LY.MicroService.BackendAdmin.EntityFrameworkCore
Backend Administration Database Migration Module, providing database migration functionality for the backend management system.
Features
- Integrated SaaS multi-tenancy data migration
- Integrated Setting Management data migration
- Integrated Data Protection Management data migration
- Integrated Permission Management data migration
- Integrated Feature Management data migration
- Integrated Text Templating data migration
- Support for MySQL database
Module Dependencies
[DependsOn(
typeof(AbpSaasEntityFrameworkCoreModule),
typeof(AbpSettingManagementEntityFrameworkCoreModule),
typeof(AbpDataProtectionManagementEntityFrameworkCoreModule),
typeof(AbpPermissionManagementEntityFrameworkCoreModule),
typeof(AbpFeatureManagementEntityFrameworkCoreModule),
typeof(AbpTextTemplatingEntityFrameworkCoreModule),
typeof(AbpDataDbMigratorModule)
)]
Configuration
{
"ConnectionStrings": {
"BackendAdminDbMigrator": "Your database connection string"
}
}
Basic Usage
-
Configure Database Connection String
- Configure BackendAdminDbMigrator connection string in appsettings.json
-
Add Module Dependency
[DependsOn(typeof(BackendAdminMigrationsEntityFrameworkCoreModule))] public class YourModule : AbpModule { // ... }
Database Tables Description
- Saas Related Tables - Tenant, edition and other multi-tenancy related data
- AbpSettings - System settings data
- AbpDataProtection - Data protection related data
- AbpPermissionGrants - Permission authorization data
- AbpFeatures - Feature data
- AbpTextTemplates - Text template data