From 6fd421530520def5fc0d43b39fb2e93a12ac6b77 Mon Sep 17 00:00:00 2001 From: feijie Date: Wed, 11 Dec 2024 09:46:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(docs):=20=E6=B7=BB=E5=8A=A0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=BF=81=E7=A7=BB=E6=A8=A1=E5=9D=97=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../README.EN.md | 75 ++++++++++++++ .../README.md | 75 ++++++++++++++ .../README.EN.md | 97 ++++++++++++++++++ .../README.md | 97 ++++++++++++++++++ .../README.EN.md | 66 +++++++++++++ .../README.md | 66 +++++++++++++ .../README.EN.md | 76 ++++++++++++++ .../README.md | 76 ++++++++++++++ .../README.EN.md | 98 +++++++++++++++++++ .../README.md | 98 +++++++++++++++++++ .../README.EN.md | 67 +++++++++++++ .../README.md | 67 +++++++++++++ .../README.EN.md | 79 +++++++++++++++ .../README.md | 79 +++++++++++++++ .../README.EN.md | 72 ++++++++++++++ .../README.md | 72 ++++++++++++++ .../README.EN.md | 68 +++++++++++++ .../README.md | 68 +++++++++++++ .../README.EN.md | 64 ++++++++++++ .../README.md | 64 ++++++++++++ .../README.EN.md | 71 ++++++++++++++ .../README.md | 71 ++++++++++++++ .../README.EN.md | 67 +++++++++++++ .../README.md | 67 +++++++++++++ .../README.EN.md | 69 +++++++++++++ .../README.md | 69 +++++++++++++ .../README.EN.md | 71 ++++++++++++++ .../README.md | 71 ++++++++++++++ .../README.EN.md | 65 ++++++++++++ .../README.md | 65 ++++++++++++ .../README.EN.md | 68 +++++++++++++ .../README.md | 68 +++++++++++++ .../README.EN.md | 65 ++++++++++++ .../README.md | 65 ++++++++++++ .../README.EN.md | 69 +++++++++++++ .../README.md | 69 +++++++++++++ 36 files changed, 2614 insertions(+) create mode 100644 aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.AuthServer.DbMigrator/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.AuthServer.DbMigrator/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.AuthServer.EntityFrameworkCore/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.AuthServer.EntityFrameworkCore/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.IdentityServer.DbMigrator/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.IdentityServer.DbMigrator/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.IdentityServer.EntityFrameworkCore/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.IdentityServer.EntityFrameworkCore/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.LocalizationManagement.DbMigrator/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.LocalizationManagement.DbMigrator/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.LocalizationManagement.EntityFrameworkCore/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.LocalizationManagement.EntityFrameworkCore/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.Platform.DbMigrator/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.Platform.DbMigrator/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.Platform.EntityFrameworkCore/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.Platform.EntityFrameworkCore/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.RealtimeMessage.DbMigrator/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.RealtimeMessage.DbMigrator/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.RealtimeMessage.EntityFrameworkCore/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.RealtimeMessage.EntityFrameworkCore/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.TaskManagement.DbMigrator/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.TaskManagement.DbMigrator/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.TaskManagement.EntityFrameworkCore/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.TaskManagement.EntityFrameworkCore/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.WebhooksManagement.DbMigrator/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.WebhooksManagement.DbMigrator/README.md create mode 100644 aspnet-core/migrations/LY.MicroService.WebhooksManagement.EntityFrameworkCore/README.EN.md create mode 100644 aspnet-core/migrations/LY.MicroService.WebhooksManagement.EntityFrameworkCore/README.md diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.EN.md b/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.EN.md new file mode 100644 index 000000000..e60db3ab6 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.EN.md @@ -0,0 +1,75 @@ +# LY.MicroService.Applications.Single.DbMigrator + +Single application database migration tool for automatically executing database migrations and initializing data. + +[简体中文](./README.md) + +## Features + +* Automatic database migration execution +* Multi-environment configuration support +* Integrated Serilog logging +* Data migration environment configuration support +* Automatic database migration check and application +* Console application, easy to integrate into CI/CD pipelines + +## Configuration + +```json +{ + "ConnectionStrings": { + "Default": "your-database-connection-string" + }, + "Serilog": { + "MinimumLevel": { + "Default": "Information", + "Override": { + "Microsoft": "Warning", + "Volo.Abp": "Warning" + } + } + } +} +``` + +## Basic Usage + +1. Configure Database Connection + * Configure database connection string in appsettings.json + * Use appsettings.{Environment}.json for different environment configurations + +2. Run Migration Tool + ```bash + dotnet run + ``` + +3. View Migration Logs + * Console output + * Logs/migrations.txt file + +## Environment Variables + +* `ASPNETCORE_ENVIRONMENT`: Set runtime environment (Development, Staging, Production, etc.) +* `DOTNET_ENVIRONMENT`: Same as above, for compatibility + +## Notes + +* Ensure database connection string includes sufficient permissions +* Recommended to backup database before executing migrations +* Check migrations.txt log file for migration details +* If migration fails, check error messages in logs + +## Development and Debugging + +1. Set Environment Variables + ```bash + export ASPNETCORE_ENVIRONMENT=Development + ``` + +2. Debug with Visual Studio or Visual Studio Code + * Set breakpoints + * View detailed migration process + +3. Customize Migration Logic + * Modify SingleDbMigrationService class + * Add new data seeds diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.md b/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.md new file mode 100644 index 000000000..1a997f51b --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.md @@ -0,0 +1,75 @@ +# LY.MicroService.Applications.Single.DbMigrator + +单体应用数据库迁移工具,用于自动执行数据库迁移和初始化数据。 + +[English](./README.EN.md) + +## 功能特性 + +* 自动执行数据库迁移 +* 支持多环境配置 +* 集成Serilog日志记录 +* 支持数据迁移环境配置 +* 自动检查和应用数据库迁移 +* 控制台应用程序,方便集成到CI/CD流程 + +## 配置项 + +```json +{ + "ConnectionStrings": { + "Default": "你的数据库连接字符串" + }, + "Serilog": { + "MinimumLevel": { + "Default": "Information", + "Override": { + "Microsoft": "Warning", + "Volo.Abp": "Warning" + } + } + } +} +``` + +## 基本用法 + +1. 配置数据库连接 + * 在appsettings.json中配置数据库连接字符串 + * 可以通过appsettings.{Environment}.json配置不同环境的连接字符串 + +2. 运行迁移工具 + ```bash + dotnet run + ``` + +3. 查看迁移日志 + * 控制台输出 + * Logs/migrations.txt文件 + +## 环境变量 + +* `ASPNETCORE_ENVIRONMENT`: 设置运行环境(Development、Staging、Production等) +* `DOTNET_ENVIRONMENT`: 同上,用于兼容性 + +## 注意事项 + +* 确保数据库连接字符串中包含足够的权限 +* 建议在执行迁移前备份数据库 +* 查看migrations.txt日志文件以了解迁移详情 +* 如果迁移失败,检查日志中的错误信息 + +## 开发调试 + +1. 设置环境变量 + ```bash + export ASPNETCORE_ENVIRONMENT=Development + ``` + +2. 使用Visual Studio或Visual Studio Code进行调试 + * 可以设置断点 + * 查看详细的迁移过程 + +3. 自定义迁移逻辑 + * 修改SingleDbMigrationService类 + * 添加新的数据种子 diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.EN.md b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.EN.md new file mode 100644 index 000000000..67e42e5c3 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.EN.md @@ -0,0 +1,97 @@ +# LY.MicroService.Applications.Single.EntityFrameworkCore + +Monolithic Application Database Migration Module, providing comprehensive application database migration functionality. + +[简体中文](./README.md) + +## Features + +* Integrated Audit Logging data migration +* Integrated Setting Management data migration +* Integrated Permission Management data migration +* Integrated Feature Management data migration +* Integrated Notification System data migration +* Integrated Message Service data migration +* Integrated Platform Management data migration +* Integrated Localization Management data migration +* Integrated Identity Authentication data migration +* Integrated IdentityServer data migration +* Integrated OpenIddict data migration +* Integrated Text Templating data migration +* Integrated Webhooks Management data migration +* Integrated Task Management data migration +* Integrated SaaS multi-tenancy data migration +* Support for database migration event handling +* Provides database migration service + +## Module Dependencies + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpAuditLoggingEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpNotificationsEntityFrameworkCoreModule), + typeof(AbpMessageServiceEntityFrameworkCoreModule), + typeof(PlatformEntityFrameworkCoreModule), + typeof(AbpLocalizationManagementEntityFrameworkCoreModule), + typeof(AbpIdentityEntityFrameworkCoreModule), + typeof(AbpIdentityServerEntityFrameworkCoreModule), + typeof(AbpOpenIddictEntityFrameworkCoreModule), + typeof(AbpTextTemplatingEntityFrameworkCoreModule), + typeof(WebhooksManagementEntityFrameworkCoreModule), + typeof(TaskManagementEntityFrameworkCoreModule), + typeof(AbpWeChatModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "SingleDbMigrator": "Your database connection string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure SingleDbMigrator connection string in appsettings.json + +2. Add Module Dependency + ```csharp + [DependsOn(typeof(SingleMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## Database Tables Description + +* AbpAuditLogs - Audit logging data +* Identity Related Tables - User, role, claims and other authentication related data +* IdentityServer Related Tables - Client, API resources, identity resources and other OAuth/OpenID Connect related data +* OpenIddict Related Tables - OpenID Connect authentication related data +* AbpPermissionGrants - Permission authorization data +* AbpSettings - System settings data +* AbpFeatures - Feature data +* AbpNotifications - Notification system data +* AbpMessageService - Message service data +* Platform Related Tables - Platform management related data +* AbpLocalization - Localization management data +* AbpTextTemplates - Text template data +* AbpWebhooks - Webhooks management data +* AbpTasks - Task management data +* Saas Related Tables - Tenant, edition and other multi-tenancy related data + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [OpenIddict Documentation](https://documentation.openiddict.com) +* [IdentityServer4 Documentation](https://identityserver4.readthedocs.io) diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.md b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.md new file mode 100644 index 000000000..a96b753ab --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.md @@ -0,0 +1,97 @@ +# LY.MicroService.Applications.Single.EntityFrameworkCore + +单体应用数据迁移模块,提供完整的应用程序数据库迁移功能。 + +[English](./README.EN.md) + +## 功能特性 + +* 集成审计日志数据迁移 +* 集成设置管理数据迁移 +* 集成权限管理数据迁移 +* 集成特性管理数据迁移 +* 集成通知系统数据迁移 +* 集成消息服务数据迁移 +* 集成平台管理数据迁移 +* 集成本地化管理数据迁移 +* 集成身份认证数据迁移 +* 集成IdentityServer数据迁移 +* 集成OpenIddict数据迁移 +* 集成文本模板数据迁移 +* 集成Webhooks管理数据迁移 +* 集成任务管理数据迁移 +* 集成SaaS多租户数据迁移 +* 支持数据库迁移事件处理 +* 提供数据库迁移服务 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpAuditLoggingEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpNotificationsEntityFrameworkCoreModule), + typeof(AbpMessageServiceEntityFrameworkCoreModule), + typeof(PlatformEntityFrameworkCoreModule), + typeof(AbpLocalizationManagementEntityFrameworkCoreModule), + typeof(AbpIdentityEntityFrameworkCoreModule), + typeof(AbpIdentityServerEntityFrameworkCoreModule), + typeof(AbpOpenIddictEntityFrameworkCoreModule), + typeof(AbpTextTemplatingEntityFrameworkCoreModule), + typeof(WebhooksManagementEntityFrameworkCoreModule), + typeof(TaskManagementEntityFrameworkCoreModule), + typeof(AbpWeChatModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "SingleDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置SingleDbMigrator连接字符串 + +2. 添加模块依赖 + ```csharp + [DependsOn(typeof(SingleMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## 数据库表说明 + +* AbpAuditLogs - 审计日志数据 +* Identity相关表 - 用户、角色、声明等身份认证相关数据 +* IdentityServer相关表 - 客户端、API资源、身份资源等OAuth/OpenID Connect相关数据 +* OpenIddict相关表 - OpenID Connect认证相关数据 +* AbpPermissionGrants - 权限授权数据 +* AbpSettings - 系统设置数据 +* AbpFeatures - 功能特性数据 +* AbpNotifications - 通知系统数据 +* AbpMessageService - 消息服务数据 +* Platform相关表 - 平台管理相关数据 +* AbpLocalization - 本地化管理数据 +* AbpTextTemplates - 文本模板数据 +* AbpWebhooks - Webhooks管理数据 +* AbpTasks - 任务管理数据 +* Saas相关表 - 租户、版本等多租户相关数据 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [OpenIddict文档](https://documentation.openiddict.com) +* [IdentityServer4文档](https://identityserver4.readthedocs.io) diff --git a/aspnet-core/migrations/LY.MicroService.AuthServer.DbMigrator/README.EN.md b/aspnet-core/migrations/LY.MicroService.AuthServer.DbMigrator/README.EN.md new file mode 100644 index 000000000..f54c1f155 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.AuthServer.DbMigrator/README.EN.md @@ -0,0 +1,66 @@ +# LY.MicroService.AuthServer.DbMigrator + +Authentication Server Database Migration Console Application, used for executing database migrations and initializing seed data for the authentication server. + +[简体中文](./README.md) + +## Features + +* Automatic database migration execution +* Initialize necessary system seed data +* Support command line parameter configuration +* Integrated Autofac dependency injection container +* Inherit all migration features from authentication server + +## Module Dependencies + +```csharp +[DependsOn( + typeof(AuthServerMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "AuthServerDbMigrator": "Your database connection string" + }, + "IdentityServer": { + "Clients": { + "AuthServer_App": { + "ClientId": "AuthServer_App" + } + } + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure AuthServerDbMigrator connection string in appsettings.json + +2. Run Migration Program + ```bash + dotnet run + ``` + +## Command Line Arguments + +* --database-provider + * Specify database provider (default: MySQL) +* --connection-string + * Specify database connection string +* --skip-db-migrations + * Skip database migrations +* --skip-seed-data + * Skip seed data initialization + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [EF Core Migrations Documentation](https://docs.microsoft.com/en-us/ef/core/managing-schemas/migrations/) +* [IdentityServer4 Documentation](https://identityserver4.readthedocs.io) diff --git a/aspnet-core/migrations/LY.MicroService.AuthServer.DbMigrator/README.md b/aspnet-core/migrations/LY.MicroService.AuthServer.DbMigrator/README.md new file mode 100644 index 000000000..504b92ed5 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.AuthServer.DbMigrator/README.md @@ -0,0 +1,66 @@ +# LY.MicroService.AuthServer.DbMigrator + +认证服务器数据库迁移控制台应用程序,用于执行认证服务器的数据库迁移和初始化种子数据。 + +[English](./README.EN.md) + +## 功能特性 + +* 自动执行数据库迁移 +* 初始化系统必要的种子数据 +* 支持命令行参数配置 +* 集成Autofac依赖注入容器 +* 继承认证服务器的所有迁移功能 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(AuthServerMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "AuthServerDbMigrator": "你的数据库连接字符串" + }, + "IdentityServer": { + "Clients": { + "AuthServer_App": { + "ClientId": "AuthServer_App" + } + } + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置AuthServerDbMigrator连接字符串 + +2. 运行迁移程序 + ```bash + dotnet run + ``` + +## 命令行参数 + +* --database-provider + * 指定数据库提供程序 (默认: MySQL) +* --connection-string + * 指定数据库连接字符串 +* --skip-db-migrations + * 跳过数据库迁移 +* --skip-seed-data + * 跳过种子数据初始化 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [EF Core迁移文档](https://docs.microsoft.com/zh-cn/ef/core/managing-schemas/migrations/) +* [IdentityServer4文档](https://identityserver4.readthedocs.io) diff --git a/aspnet-core/migrations/LY.MicroService.AuthServer.EntityFrameworkCore/README.EN.md b/aspnet-core/migrations/LY.MicroService.AuthServer.EntityFrameworkCore/README.EN.md new file mode 100644 index 000000000..3d965dc2c --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.AuthServer.EntityFrameworkCore/README.EN.md @@ -0,0 +1,76 @@ +# LY.MicroService.AuthServer.EntityFrameworkCore + +Authentication server database migration module, providing database migration functionality required by the authentication server. + +[简体中文](./README.md) + +## Features + +* Integrated OpenIddict authentication framework database migrations +* Integrated ABP Identity module database migrations +* Integrated ABP permission management module database migrations +* Integrated ABP settings management module database migrations +* Integrated ABP feature management module database migrations +* Integrated ABP SaaS multi-tenant module database migrations +* Integrated text templating module database migrations +* Support for MySQL database + +## Module Dependencies + +```csharp +[DependsOn( + typeof(AbpAuthorizationModule), + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpOpenIddictEntityFrameworkCoreModule), + typeof(AbpIdentityEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpTextTemplatingEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +public class YourModule : AbpModule +{ + // other +} +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "AuthServerDbMigrator": "your-database-connection-string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure AuthServerDbMigrator connection string in appsettings.json + +2. Add Database Context + ```csharp + public override void ConfigureServices(ServiceConfigurationContext context) + { + context.Services.AddAbpDbContext(); + + Configure(options => + { + options.UseMySQL(); + }); + } + ``` + +3. Execute Database Migration + * Use EF Core CLI tools to execute migrations + ```bash + dotnet ef database update + ``` + +## Notes + +* Ensure the database connection string includes the correct permissions to create and modify database tables +* It's recommended to backup the database before executing migrations +* Migration scripts will automatically handle dependencies between modules diff --git a/aspnet-core/migrations/LY.MicroService.AuthServer.EntityFrameworkCore/README.md b/aspnet-core/migrations/LY.MicroService.AuthServer.EntityFrameworkCore/README.md new file mode 100644 index 000000000..a29091af8 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.AuthServer.EntityFrameworkCore/README.md @@ -0,0 +1,76 @@ +# LY.MicroService.AuthServer.EntityFrameworkCore + +认证服务器数据库迁移模块,提供认证服务器所需的数据库迁移功能。 + +[English](./README.EN.md) + +## 功能特性 + +* 集成OpenIddict认证框架的数据库迁移 +* 集成ABP Identity模块的数据库迁移 +* 集成ABP权限管理模块的数据库迁移 +* 集成ABP设置管理模块的数据库迁移 +* 集成ABP特性管理模块的数据库迁移 +* 集成ABP SaaS多租户模块的数据库迁移 +* 集成文本模板模块的数据库迁移 +* 支持MySQL数据库 + +## 模块引用 + +```csharp +[DependsOn( + typeof(AbpAuthorizationModule), + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpOpenIddictEntityFrameworkCoreModule), + typeof(AbpIdentityEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpTextTemplatingEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +public class YourModule : AbpModule +{ + // other +} +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "AuthServerDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置AuthServerDbMigrator连接字符串 + +2. 添加数据库上下文 + ```csharp + public override void ConfigureServices(ServiceConfigurationContext context) + { + context.Services.AddAbpDbContext(); + + Configure(options => + { + options.UseMySQL(); + }); + } + ``` + +3. 执行数据库迁移 + * 使用EF Core命令行工具执行迁移 + ```bash + dotnet ef database update + ``` + +## 注意事项 + +* 确保数据库连接字符串中包含正确的权限,以便能够创建和修改数据库表 +* 在执行迁移之前,建议先备份数据库 +* 迁移脚本会自动处理模块间的依赖关系 diff --git a/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/README.EN.md b/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/README.EN.md new file mode 100644 index 000000000..d0fb379bc --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/README.EN.md @@ -0,0 +1,98 @@ +# LY.MicroService.BackendAdmin.DbMigrator + +Backend Administration System Database Migration Console Application, used for executing database migrations and initializing seed data for the backend administration system. + +[简体中文](./README.md) + +## Features + +* Automatic database migration execution +* Initialize necessary system seed data +* Support command line parameter configuration +* Integrated Autofac dependency injection container +* Integrated Feature Management +* Integrated Setting Management +* Integrated Permission Management +* Integrated Localization Management +* Integrated Cache Management +* Integrated Auditing +* Integrated Text Templating +* Integrated Identity Authentication +* Integrated IdentityServer +* Integrated OpenIddict +* Integrated Platform Management +* Integrated Object Storage Management +* Integrated Notification System +* Integrated Message Service +* Integrated Task Management +* Integrated Webhooks Management + +## Module Dependencies + +```csharp +[DependsOn( + typeof(BackendAdminMigrationsEntityFrameworkCoreModule), + typeof(AbpFeatureManagementApplicationContractsModule), + typeof(AbpSettingManagementApplicationContractsModule), + typeof(AbpPermissionManagementApplicationContractsModule), + typeof(AbpLocalizationManagementApplicationContractsModule), + typeof(AbpCachingManagementApplicationContractsModule), + typeof(AbpAuditingApplicationContractsModule), + typeof(AbpTextTemplatingApplicationContractsModule), + typeof(AbpIdentityApplicationContractsModule), + typeof(AbpIdentityServerApplicationContractsModule), + typeof(AbpOpenIddictApplicationContractsModule), + typeof(PlatformApplicationContractModule), + typeof(AbpOssManagementApplicationContractsModule), + typeof(AbpNotificationsApplicationContractsModule), + typeof(AbpMessageServiceApplicationContractsModule), + typeof(TaskManagementApplicationContractsModule), + typeof(WebhooksManagementApplicationContractsModule), + typeof(AbpAutofacModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "BackendAdminDbMigrator": "Your database connection string" + }, + "IdentityServer": { + "Clients": { + "BackendAdmin_App": { + "ClientId": "BackendAdmin_App" + } + } + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure BackendAdminDbMigrator connection string in appsettings.json + +2. Run Migration Program + ```bash + dotnet run + ``` + +## Command Line Arguments + +* --database-provider + * Specify database provider (default: MySQL) +* --connection-string + * Specify database connection string +* --skip-db-migrations + * Skip database migrations +* --skip-seed-data + * Skip seed data initialization + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [EF Core Migrations Documentation](https://docs.microsoft.com/en-us/ef/core/managing-schemas/migrations/) +* [IdentityServer4 Documentation](https://identityserver4.readthedocs.io) +* [OpenIddict Documentation](https://documentation.openiddict.com) diff --git a/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/README.md b/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/README.md new file mode 100644 index 000000000..cfedda71c --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/README.md @@ -0,0 +1,98 @@ +# LY.MicroService.BackendAdmin.DbMigrator + +后台管理系统数据库迁移控制台应用程序,用于执行后台管理系统的数据库迁移和初始化种子数据。 + +[English](./README.EN.md) + +## 功能特性 + +* 自动执行数据库迁移 +* 初始化系统必要的种子数据 +* 支持命令行参数配置 +* 集成Autofac依赖注入容器 +* 集成特性管理功能 +* 集成设置管理功能 +* 集成权限管理功能 +* 集成本地化管理功能 +* 集成缓存管理功能 +* 集成审计日志功能 +* 集成文本模板功能 +* 集成身份认证功能 +* 集成IdentityServer功能 +* 集成OpenIddict功能 +* 集成平台管理功能 +* 集成对象存储功能 +* 集成通知系统功能 +* 集成消息服务功能 +* 集成任务管理功能 +* 集成Webhooks管理功能 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(BackendAdminMigrationsEntityFrameworkCoreModule), + typeof(AbpFeatureManagementApplicationContractsModule), + typeof(AbpSettingManagementApplicationContractsModule), + typeof(AbpPermissionManagementApplicationContractsModule), + typeof(AbpLocalizationManagementApplicationContractsModule), + typeof(AbpCachingManagementApplicationContractsModule), + typeof(AbpAuditingApplicationContractsModule), + typeof(AbpTextTemplatingApplicationContractsModule), + typeof(AbpIdentityApplicationContractsModule), + typeof(AbpIdentityServerApplicationContractsModule), + typeof(AbpOpenIddictApplicationContractsModule), + typeof(PlatformApplicationContractModule), + typeof(AbpOssManagementApplicationContractsModule), + typeof(AbpNotificationsApplicationContractsModule), + typeof(AbpMessageServiceApplicationContractsModule), + typeof(TaskManagementApplicationContractsModule), + typeof(WebhooksManagementApplicationContractsModule), + typeof(AbpAutofacModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "BackendAdminDbMigrator": "你的数据库连接字符串" + }, + "IdentityServer": { + "Clients": { + "BackendAdmin_App": { + "ClientId": "BackendAdmin_App" + } + } + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置BackendAdminDbMigrator连接字符串 + +2. 运行迁移程序 + ```bash + dotnet run + ``` + +## 命令行参数 + +* --database-provider + * 指定数据库提供程序 (默认: MySQL) +* --connection-string + * 指定数据库连接字符串 +* --skip-db-migrations + * 跳过数据库迁移 +* --skip-seed-data + * 跳过种子数据初始化 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [EF Core迁移文档](https://docs.microsoft.com/zh-cn/ef/core/managing-schemas/migrations/) +* [IdentityServer4文档](https://identityserver4.readthedocs.io) +* [OpenIddict文档](https://documentation.openiddict.com) diff --git a/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/README.EN.md b/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/README.EN.md new file mode 100644 index 000000000..ae8a99c84 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/README.EN.md @@ -0,0 +1,67 @@ +# LY.MicroService.BackendAdmin.EntityFrameworkCore + +Backend Administration Database Migration Module, providing database migration functionality for the backend management system. + +[简体中文](./README.md) + +## 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 + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpDataProtectionManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpTextTemplatingEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "BackendAdminDbMigrator": "Your database connection string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure BackendAdminDbMigrator connection string in appsettings.json + +2. Add Module Dependency + ```csharp + [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 + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [ASP.NET Core Data Protection](https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/introduction) diff --git a/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/README.md b/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/README.md new file mode 100644 index 000000000..bca4f966b --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/README.md @@ -0,0 +1,67 @@ +# LY.MicroService.BackendAdmin.EntityFrameworkCore + +后台管理数据迁移模块,提供后台管理系统相关的数据库迁移功能。 + +[English](./README.EN.md) + +## 功能特性 + +* 集成SaaS多租户数据迁移 +* 集成设置管理数据迁移 +* 集成数据保护管理数据迁移 +* 集成权限管理数据迁移 +* 集成特性管理数据迁移 +* 集成文本模板数据迁移 +* 支持MySQL数据库 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpDataProtectionManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpTextTemplatingEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "BackendAdminDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置BackendAdminDbMigrator连接字符串 + +2. 添加模块依赖 + ```csharp + [DependsOn(typeof(BackendAdminMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## 数据库表说明 + +* Saas相关表 - 租户、版本等多租户相关数据 +* AbpSettings - 系统设置数据 +* AbpDataProtection - 数据保护相关数据 +* AbpPermissionGrants - 权限授权数据 +* AbpFeatures - 功能特性数据 +* AbpTextTemplates - 文本模板数据 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [ASP.NET Core数据保护](https://docs.microsoft.com/zh-cn/aspnet/core/security/data-protection/introduction) diff --git a/aspnet-core/migrations/LY.MicroService.IdentityServer.DbMigrator/README.EN.md b/aspnet-core/migrations/LY.MicroService.IdentityServer.DbMigrator/README.EN.md new file mode 100644 index 000000000..0a9fa59db --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.IdentityServer.DbMigrator/README.EN.md @@ -0,0 +1,79 @@ +# LY.MicroService.IdentityServer.DbMigrator + +Identity Server Database Migration Console Application, used for executing database migrations and initializing seed data for the identity server. + +[简体中文](./README.md) + +## Features + +* Automatic database migration execution +* Initialize necessary system seed data +* Support command line parameter configuration +* Integrated Autofac dependency injection container +* Inherit all migration features from identity server +* Support IdentityServer4 configuration +* Support OAuth 2.0 and OpenID Connect protocols +* Support user and role management +* Support client and API resource management + +## Module Dependencies + +```csharp +[DependsOn( + typeof(IdentityServerMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "IdentityServerDbMigrator": "Your database connection string" + }, + "IdentityServer": { + "Clients": { + "IdentityServer_App": { + "ClientId": "IdentityServer_App" + } + } + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure IdentityServerDbMigrator connection string in appsettings.json + +2. Run Migration Program + ```bash + dotnet run + ``` + +## Command Line Arguments + +* --database-provider + * Specify database provider (default: MySQL) +* --connection-string + * Specify database connection string +* --skip-db-migrations + * Skip database migrations +* --skip-seed-data + * Skip seed data initialization + +## Seed Data + +* Default users and roles +* Standard identity resources +* API resources and scopes +* Default client configurations +* Basic permission configurations + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [IdentityServer4 Documentation](https://identityserver4.readthedocs.io) +* [OAuth 2.0 Specification](https://oauth.net/2/) +* [OpenID Connect Specification](https://openid.net/connect/) diff --git a/aspnet-core/migrations/LY.MicroService.IdentityServer.DbMigrator/README.md b/aspnet-core/migrations/LY.MicroService.IdentityServer.DbMigrator/README.md new file mode 100644 index 000000000..1a88c522b --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.IdentityServer.DbMigrator/README.md @@ -0,0 +1,79 @@ +# LY.MicroService.IdentityServer.DbMigrator + +身份认证服务器数据库迁移控制台应用程序,用于执行身份认证服务器的数据库迁移和初始化种子数据。 + +[English](./README.EN.md) + +## 功能特性 + +* 自动执行数据库迁移 +* 初始化系统必要的种子数据 +* 支持命令行参数配置 +* 集成Autofac依赖注入容器 +* 继承身份认证服务器的所有迁移功能 +* 支持IdentityServer4配置 +* 支持OAuth 2.0和OpenID Connect协议 +* 支持用户和角色管理 +* 支持客户端和API资源管理 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(IdentityServerMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "IdentityServerDbMigrator": "你的数据库连接字符串" + }, + "IdentityServer": { + "Clients": { + "IdentityServer_App": { + "ClientId": "IdentityServer_App" + } + } + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置IdentityServerDbMigrator连接字符串 + +2. 运行迁移程序 + ```bash + dotnet run + ``` + +## 命令行参数 + +* --database-provider + * 指定数据库提供程序 (默认: MySQL) +* --connection-string + * 指定数据库连接字符串 +* --skip-db-migrations + * 跳过数据库迁移 +* --skip-seed-data + * 跳过种子数据初始化 + +## 种子数据 + +* 默认用户和角色 +* 标准身份资源 +* API资源和范围 +* 默认客户端配置 +* 基本权限配置 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [IdentityServer4文档](https://identityserver4.readthedocs.io) +* [OAuth 2.0规范](https://oauth.net/2/) +* [OpenID Connect规范](https://openid.net/connect/) diff --git a/aspnet-core/migrations/LY.MicroService.IdentityServer.EntityFrameworkCore/README.EN.md b/aspnet-core/migrations/LY.MicroService.IdentityServer.EntityFrameworkCore/README.EN.md new file mode 100644 index 000000000..7d0a5cf57 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.IdentityServer.EntityFrameworkCore/README.EN.md @@ -0,0 +1,72 @@ +# LY.MicroService.IdentityServer.EntityFrameworkCore + +Identity Server Database Migration Module, providing database migration functionality for IdentityServer. + +[简体中文](./README.md) + +## Features + +* Integrated ABP Identity data migration +* Integrated IdentityServer data migration +* Integrated Permission Management data migration +* Integrated Setting Management data migration +* Integrated Feature Management data migration +* Integrated Text Templating data migration +* Integrated SaaS multi-tenancy data migration +* Support for MySQL database + +## Module Dependencies + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpIdentityEntityFrameworkCoreModule), + typeof(AbpIdentityServerEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpTextTemplatingEntityFrameworkCoreModule), + typeof(AbpWeChatModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "IdentityServerDbMigrator": "Your database connection string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure IdentityServerDbMigrator connection string in appsettings.json + +2. Add Module Dependency + ```csharp + [DependsOn(typeof(IdentityServerMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## Database Tables Description + +* Identity Related Tables - User, role, claims and other authentication related data +* IdentityServer Related Tables - Client, API resources, identity resources and other OAuth/OpenID Connect related data +* AbpPermissionGrants - Permission authorization data +* AbpSettings - System settings data +* AbpFeatures - Feature data +* AbpTextTemplates - Text template data +* Saas Related Tables - Tenant, edition and other multi-tenancy related data + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [IdentityServer4 Documentation](https://identityserver4.readthedocs.io) diff --git a/aspnet-core/migrations/LY.MicroService.IdentityServer.EntityFrameworkCore/README.md b/aspnet-core/migrations/LY.MicroService.IdentityServer.EntityFrameworkCore/README.md new file mode 100644 index 000000000..b6d261846 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.IdentityServer.EntityFrameworkCore/README.md @@ -0,0 +1,72 @@ +# LY.MicroService.IdentityServer.EntityFrameworkCore + +身份认证服务器数据迁移模块,提供IdentityServer的数据库迁移功能。 + +[English](./README.EN.md) + +## 功能特性 + +* 集成ABP Identity数据迁移 +* 集成IdentityServer数据迁移 +* 集成权限管理数据迁移 +* 集成设置管理数据迁移 +* 集成特性管理数据迁移 +* 集成文本模板数据迁移 +* 集成SaaS多租户数据迁移 +* 支持MySQL数据库 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpIdentityEntityFrameworkCoreModule), + typeof(AbpIdentityServerEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpTextTemplatingEntityFrameworkCoreModule), + typeof(AbpWeChatModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "IdentityServerDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置IdentityServerDbMigrator连接字符串 + +2. 添加模块依赖 + ```csharp + [DependsOn(typeof(IdentityServerMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## 数据库表说明 + +* Identity相关表 - 用户、角色、声明等身份认证相关数据 +* IdentityServer相关表 - 客户端、API资源、身份资源等OAuth/OpenID Connect相关数据 +* AbpPermissionGrants - 权限授权数据 +* AbpSettings - 系统设置数据 +* AbpFeatures - 功能特性数据 +* AbpTextTemplates - 文本模板数据 +* Saas相关表 - 租户、版本等多租户相关数据 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [IdentityServer4文档](https://identityserver4.readthedocs.io) diff --git a/aspnet-core/migrations/LY.MicroService.LocalizationManagement.DbMigrator/README.EN.md b/aspnet-core/migrations/LY.MicroService.LocalizationManagement.DbMigrator/README.EN.md new file mode 100644 index 000000000..0250062a1 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.LocalizationManagement.DbMigrator/README.EN.md @@ -0,0 +1,68 @@ +# LY.MicroService.LocalizationManagement.DbMigrator + +Localization Management Database Migration Console Application, used for executing database migrations and initializing seed data for the localization management system. + +[简体中文](./README.md) + +## Features + +* Automatic database migration execution +* Initialize necessary system seed data +* Support command line parameter configuration +* Integrated Autofac dependency injection container +* Inherit all migration features from localization management system +* Support multi-language resource management +* Support dynamic language text management +* Support language management + +## Module Dependencies + +```csharp +[DependsOn( + typeof(LocalizationManagementMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "LocalizationManagementDbMigrator": "Your database connection string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure LocalizationManagementDbMigrator connection string in appsettings.json + +2. Run Migration Program + ```bash + dotnet run + ``` + +## Command Line Arguments + +* --database-provider + * Specify database provider (default: MySQL) +* --connection-string + * Specify database connection string +* --skip-db-migrations + * Skip database migrations +* --skip-seed-data + * Skip seed data initialization + +## Seed Data + +* Default language configurations +* Basic localization resources +* System text resources +* Default permission configurations + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [ABP Localization Documentation](https://docs.abp.io/en/abp/latest/Localization) diff --git a/aspnet-core/migrations/LY.MicroService.LocalizationManagement.DbMigrator/README.md b/aspnet-core/migrations/LY.MicroService.LocalizationManagement.DbMigrator/README.md new file mode 100644 index 000000000..a5589741d --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.LocalizationManagement.DbMigrator/README.md @@ -0,0 +1,68 @@ +# LY.MicroService.LocalizationManagement.DbMigrator + +本地化管理数据库迁移控制台应用程序,用于执行本地化管理系统的数据库迁移和初始化种子数据。 + +[English](./README.EN.md) + +## 功能特性 + +* 自动执行数据库迁移 +* 初始化系统必要的种子数据 +* 支持命令行参数配置 +* 集成Autofac依赖注入容器 +* 继承本地化管理系统的所有迁移功能 +* 支持多语言资源管理 +* 支持动态语言文本管理 +* 支持语言管理 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(LocalizationManagementMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "LocalizationManagementDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置LocalizationManagementDbMigrator连接字符串 + +2. 运行迁移程序 + ```bash + dotnet run + ``` + +## 命令行参数 + +* --database-provider + * 指定数据库提供程序 (默认: MySQL) +* --connection-string + * 指定数据库连接字符串 +* --skip-db-migrations + * 跳过数据库迁移 +* --skip-seed-data + * 跳过种子数据初始化 + +## 种子数据 + +* 默认语言配置 +* 基础本地化资源 +* 系统文本资源 +* 默认权限配置 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [ABP本地化文档](https://docs.abp.io/zh-Hans/abp/latest/Localization) diff --git a/aspnet-core/migrations/LY.MicroService.LocalizationManagement.EntityFrameworkCore/README.EN.md b/aspnet-core/migrations/LY.MicroService.LocalizationManagement.EntityFrameworkCore/README.EN.md new file mode 100644 index 000000000..19fd5344b --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.LocalizationManagement.EntityFrameworkCore/README.EN.md @@ -0,0 +1,64 @@ +# LY.MicroService.LocalizationManagement.EntityFrameworkCore + +Localization Management Database Migration Module, providing database migration functionality for the localization management system. + +[简体中文](./README.md) + +## Features + +* Integrated SaaS multi-tenancy data migration +* Integrated Localization Management data migration +* Integrated Setting Management data migration +* Integrated Permission Management data migration +* Integrated Feature Management data migration +* Support for MySQL database + +## Module Dependencies + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpLocalizationManagementEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "LocalizationManagementDbMigrator": "Your database connection string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure LocalizationManagementDbMigrator connection string in appsettings.json + +2. Add Module Dependency + ```csharp + [DependsOn(typeof(LocalizationManagementMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## Database Tables Description + +* AbpLocalization - Localization resources and text data +* Saas Related Tables - Tenant, edition and other multi-tenancy related data +* AbpSettings - System settings data +* AbpPermissionGrants - Permission authorization data +* AbpFeatures - Feature data + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [ABP Localization Documentation](https://docs.abp.io/en/abp/latest/Localization) diff --git a/aspnet-core/migrations/LY.MicroService.LocalizationManagement.EntityFrameworkCore/README.md b/aspnet-core/migrations/LY.MicroService.LocalizationManagement.EntityFrameworkCore/README.md new file mode 100644 index 000000000..c506bdc1c --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.LocalizationManagement.EntityFrameworkCore/README.md @@ -0,0 +1,64 @@ +# LY.MicroService.LocalizationManagement.EntityFrameworkCore + +本地化管理数据迁移模块,提供本地化管理系统相关的数据库迁移功能。 + +[English](./README.EN.md) + +## 功能特性 + +* 集成SaaS多租户数据迁移 +* 集成本地化管理数据迁移 +* 集成设置管理数据迁移 +* 集成权限管理数据迁移 +* 集成特性管理数据迁移 +* 支持MySQL数据库 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpLocalizationManagementEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "LocalizationManagementDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置LocalizationManagementDbMigrator连接字符串 + +2. 添加模块依赖 + ```csharp + [DependsOn(typeof(LocalizationManagementMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## 数据库表说明 + +* AbpLocalization - 本地化资源和文本数据 +* Saas相关表 - 租户、版本等多租户相关数据 +* AbpSettings - 系统设置数据 +* AbpPermissionGrants - 权限授权数据 +* AbpFeatures - 功能特性数据 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [ABP本地化文档](https://docs.abp.io/zh-Hans/abp/latest/Localization) diff --git a/aspnet-core/migrations/LY.MicroService.Platform.DbMigrator/README.EN.md b/aspnet-core/migrations/LY.MicroService.Platform.DbMigrator/README.EN.md new file mode 100644 index 000000000..12bbd4be5 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.Platform.DbMigrator/README.EN.md @@ -0,0 +1,71 @@ +# LY.MicroService.Platform.DbMigrator + +Platform Management Database Migration Console Application, used for executing database migrations and initializing seed data for the platform management system. + +[简体中文](./README.md) + +## Features + +* Automatic database migration execution +* Initialize necessary system seed data +* Support command line parameter configuration +* Integrated Autofac dependency injection container +* Inherit all migration features from platform management system +* Support data dictionary management +* Support organization management +* Support menu management +* Support version management +* Support Vue Vben Admin UI navigation + +## Module Dependencies + +```csharp +[DependsOn( + typeof(PlatformMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "PlatformDbMigrator": "Your database connection string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure PlatformDbMigrator connection string in appsettings.json + +2. Run Migration Program + ```bash + dotnet run + ``` + +## Command Line Arguments + +* --database-provider + * Specify database provider (default: MySQL) +* --connection-string + * Specify database connection string +* --skip-db-migrations + * Skip database migrations +* --skip-seed-data + * Skip seed data initialization + +## Seed Data + +* Default data dictionaries +* Basic organizations +* System menus +* Default version configurations +* UI navigation configurations + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [Vue Vben Admin Documentation](https://doc.vvbin.cn/) diff --git a/aspnet-core/migrations/LY.MicroService.Platform.DbMigrator/README.md b/aspnet-core/migrations/LY.MicroService.Platform.DbMigrator/README.md new file mode 100644 index 000000000..a1b7a8481 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.Platform.DbMigrator/README.md @@ -0,0 +1,71 @@ +# LY.MicroService.Platform.DbMigrator + +平台管理数据库迁移控制台应用程序,用于执行平台管理系统的数据库迁移和初始化种子数据。 + +[English](./README.EN.md) + +## 功能特性 + +* 自动执行数据库迁移 +* 初始化系统必要的种子数据 +* 支持命令行参数配置 +* 集成Autofac依赖注入容器 +* 继承平台管理系统的所有迁移功能 +* 支持数据字典管理 +* 支持组织机构管理 +* 支持菜单管理 +* 支持版本管理 +* 支持Vue Vben Admin UI导航 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(PlatformMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "PlatformDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置PlatformDbMigrator连接字符串 + +2. 运行迁移程序 + ```bash + dotnet run + ``` + +## 命令行参数 + +* --database-provider + * 指定数据库提供程序 (默认: MySQL) +* --connection-string + * 指定数据库连接字符串 +* --skip-db-migrations + * 跳过数据库迁移 +* --skip-seed-data + * 跳过种子数据初始化 + +## 种子数据 + +* 默认数据字典 +* 基础组织机构 +* 系统菜单 +* 默认版本配置 +* UI导航配置 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [Vue Vben Admin文档](https://doc.vvbin.cn/) diff --git a/aspnet-core/migrations/LY.MicroService.Platform.EntityFrameworkCore/README.EN.md b/aspnet-core/migrations/LY.MicroService.Platform.EntityFrameworkCore/README.EN.md new file mode 100644 index 000000000..ee66ad2a4 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.Platform.EntityFrameworkCore/README.EN.md @@ -0,0 +1,67 @@ +# LY.MicroService.Platform.EntityFrameworkCore + +Platform Management Database Migration Module, providing database migration functionality for the platform management system. + +[简体中文](./README.md) + +## Features + +* Integrated SaaS multi-tenancy data migration +* Integrated Platform Management data migration +* Integrated Setting Management data migration +* Integrated Permission Management data migration +* Integrated Feature Management data migration +* Integrated Vue Vben Admin UI navigation data migration +* Support for MySQL database + +## Module Dependencies + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(PlatformEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpUINavigationVueVbenAdminModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "PlatformDbMigrator": "Your database connection string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure PlatformDbMigrator connection string in appsettings.json + +2. Add Module Dependency + ```csharp + [DependsOn(typeof(PlatformMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## Database Tables Description + +* Platform Related Tables - Contains data dictionary, organization structure, menu, version and other platform basic data +* Saas Related Tables - Tenant, edition and other multi-tenancy related data +* AbpSettings - System settings data +* AbpPermissionGrants - Permission authorization data +* AbpFeatures - Feature data +* AbpUINavigation - Vue Vben Admin UI navigation data + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [Vue Vben Admin Documentation](https://doc.vvbin.cn/) diff --git a/aspnet-core/migrations/LY.MicroService.Platform.EntityFrameworkCore/README.md b/aspnet-core/migrations/LY.MicroService.Platform.EntityFrameworkCore/README.md new file mode 100644 index 000000000..ec0856f0c --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.Platform.EntityFrameworkCore/README.md @@ -0,0 +1,67 @@ +# LY.MicroService.Platform.EntityFrameworkCore + +平台管理数据迁移模块,提供平台管理系统相关的数据库迁移功能。 + +[English](./README.EN.md) + +## 功能特性 + +* 集成SaaS多租户数据迁移 +* 集成平台管理数据迁移 +* 集成设置管理数据迁移 +* 集成权限管理数据迁移 +* 集成特性管理数据迁移 +* 集成Vue Vben Admin UI导航数据迁移 +* 支持MySQL数据库 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(PlatformEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpUINavigationVueVbenAdminModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "PlatformDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置PlatformDbMigrator连接字符串 + +2. 添加模块依赖 + ```csharp + [DependsOn(typeof(PlatformMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## 数据库表说明 + +* Platform相关表 - 包含数据字典、组织机构、菜单、版本等平台基础数据 +* Saas相关表 - 租户、版本等多租户相关数据 +* AbpSettings - 系统设置数据 +* AbpPermissionGrants - 权限授权数据 +* AbpFeatures - 功能特性数据 +* AbpUINavigation - Vue Vben Admin UI导航数据 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [Vue Vben Admin文档](https://doc.vvbin.cn/) diff --git a/aspnet-core/migrations/LY.MicroService.RealtimeMessage.DbMigrator/README.EN.md b/aspnet-core/migrations/LY.MicroService.RealtimeMessage.DbMigrator/README.EN.md new file mode 100644 index 000000000..4d437bd50 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.RealtimeMessage.DbMigrator/README.EN.md @@ -0,0 +1,69 @@ +# LY.MicroService.RealtimeMessage.DbMigrator + +Real-time Message Database Migration Console Application, used for executing database migrations and initializing seed data for the real-time message system. + +[简体中文](./README.md) + +## Features + +* Automatic database migration execution +* Initialize necessary system seed data +* Support command line parameter configuration +* Integrated Autofac dependency injection container +* Inherit all migration features from real-time message system +* Support SignalR message management +* Support message group management +* Support message subscription management +* Support message history + +## Module Dependencies + +```csharp +[DependsOn( + typeof(RealtimeMessageMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "RealtimeMessageDbMigrator": "Your database connection string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure RealtimeMessageDbMigrator connection string in appsettings.json + +2. Run Migration Program + ```bash + dotnet run + ``` + +## Command Line Arguments + +* --database-provider + * Specify database provider (default: MySQL) +* --connection-string + * Specify database connection string +* --skip-db-migrations + * Skip database migrations +* --skip-seed-data + * Skip seed data initialization + +## Seed Data + +* Default message group configurations +* Basic message subscription configurations +* System message templates +* Default permission configurations + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [SignalR Documentation](https://docs.microsoft.com/aspnet/core/signalr/introduction) diff --git a/aspnet-core/migrations/LY.MicroService.RealtimeMessage.DbMigrator/README.md b/aspnet-core/migrations/LY.MicroService.RealtimeMessage.DbMigrator/README.md new file mode 100644 index 000000000..36a2b00e0 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.RealtimeMessage.DbMigrator/README.md @@ -0,0 +1,69 @@ +# LY.MicroService.RealtimeMessage.DbMigrator + +实时消息数据库迁移控制台应用程序,用于执行实时消息系统的数据库迁移和初始化种子数据。 + +[English](./README.EN.md) + +## 功能特性 + +* 自动执行数据库迁移 +* 初始化系统必要的种子数据 +* 支持命令行参数配置 +* 集成Autofac依赖注入容器 +* 继承实时消息系统的所有迁移功能 +* 支持SignalR消息管理 +* 支持消息分组管理 +* 支持消息订阅管理 +* 支持消息历史记录 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(RealtimeMessageMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "RealtimeMessageDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置RealtimeMessageDbMigrator连接字符串 + +2. 运行迁移程序 + ```bash + dotnet run + ``` + +## 命令行参数 + +* --database-provider + * 指定数据库提供程序 (默认: MySQL) +* --connection-string + * 指定数据库连接字符串 +* --skip-db-migrations + * 跳过数据库迁移 +* --skip-seed-data + * 跳过种子数据初始化 + +## 种子数据 + +* 默认消息组配置 +* 基础消息订阅配置 +* 系统消息模板 +* 默认权限配置 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [SignalR文档](https://docs.microsoft.com/aspnet/core/signalr/introduction) diff --git a/aspnet-core/migrations/LY.MicroService.RealtimeMessage.EntityFrameworkCore/README.EN.md b/aspnet-core/migrations/LY.MicroService.RealtimeMessage.EntityFrameworkCore/README.EN.md new file mode 100644 index 000000000..8942ab5dd --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.RealtimeMessage.EntityFrameworkCore/README.EN.md @@ -0,0 +1,71 @@ +# LY.MicroService.RealtimeMessage.EntityFrameworkCore + +Real-time Message Database Migration Module, providing database migration functionality for real-time messaging and notification systems. + +[简体中文](./README.md) + +## Features + +* Integrated SaaS multi-tenancy data migration +* Integrated Notification System data migration +* Integrated Message Service data migration +* Integrated Text Templating data migration +* Integrated Setting Management data migration +* Integrated Permission Management data migration +* Integrated Feature Management data migration +* Support for MySQL database + +## Module Dependencies + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpNotificationsEntityFrameworkCoreModule), + typeof(AbpMessageServiceEntityFrameworkCoreModule), + typeof(AbpTextTemplatingEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "RealtimeMessageDbMigrator": "Your database connection string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure RealtimeMessageDbMigrator connection string in appsettings.json + +2. Add Module Dependency + ```csharp + [DependsOn(typeof(RealtimeMessageMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## Database Tables Description + +* AbpNotifications - Notification system data tables +* AbpNotificationsDefinition - Notification definition data tables +* AbpMessageService - Message service data tables +* Saas Related Tables - Tenant, edition and other multi-tenancy related data +* AbpSettings - System settings data +* AbpPermissionGrants - Permission authorization data +* AbpFeatures - Feature data +* AbpTextTemplates - Text template data + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [ABP Notification System Documentation](https://docs.abp.io/en/abp/latest/Notification-System) diff --git a/aspnet-core/migrations/LY.MicroService.RealtimeMessage.EntityFrameworkCore/README.md b/aspnet-core/migrations/LY.MicroService.RealtimeMessage.EntityFrameworkCore/README.md new file mode 100644 index 000000000..3cc1243c8 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.RealtimeMessage.EntityFrameworkCore/README.md @@ -0,0 +1,71 @@ +# LY.MicroService.RealtimeMessage.EntityFrameworkCore + +实时消息数据迁移模块,提供实时消息和通知系统相关的数据库迁移功能。 + +[English](./README.EN.md) + +## 功能特性 + +* 集成SaaS多租户数据迁移 +* 集成通知系统数据迁移 +* 集成消息服务数据迁移 +* 集成文本模板数据迁移 +* 集成设置管理数据迁移 +* 集成权限管理数据迁移 +* 集成特性管理数据迁移 +* 支持MySQL数据库 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(AbpNotificationsEntityFrameworkCoreModule), + typeof(AbpMessageServiceEntityFrameworkCoreModule), + typeof(AbpTextTemplatingEntityFrameworkCoreModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "RealtimeMessageDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置RealtimeMessageDbMigrator连接字符串 + +2. 添加模块依赖 + ```csharp + [DependsOn(typeof(RealtimeMessageMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## 数据库表说明 + +* AbpNotifications - 通知系统数据表 +* AbpNotificationsDefinition - 通知定义数据表 +* AbpMessageService - 消息服务数据表 +* Saas相关表 - 租户、版本等多租户相关数据 +* AbpSettings - 系统设置数据 +* AbpPermissionGrants - 权限授权数据 +* AbpFeatures - 功能特性数据 +* AbpTextTemplates - 文本模板数据 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [ABP通知系统文档](https://docs.abp.io/zh-Hans/abp/latest/Notification-System) diff --git a/aspnet-core/migrations/LY.MicroService.TaskManagement.DbMigrator/README.EN.md b/aspnet-core/migrations/LY.MicroService.TaskManagement.DbMigrator/README.EN.md new file mode 100644 index 000000000..2fa132c9d --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.TaskManagement.DbMigrator/README.EN.md @@ -0,0 +1,65 @@ +# LY.MicroService.TaskManagement.DbMigrator + +Task Management Database Migration Console Application, used for executing database migrations and initializing seed data for the task management system. + +[简体中文](./README.md) + +## Features + +* Automatic database migration execution +* Initialize necessary system seed data +* Support command line parameter configuration +* Integrated Autofac dependency injection container +* Inherit all migration features from task management system + +## Module Dependencies + +```csharp +[DependsOn( + typeof(TaskManagementMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "TaskManagementDbMigrator": "Your database connection string" + }, + "IdentityServer": { + "Clients": { + "TaskManagement_App": { + "ClientId": "TaskManagement_App" + } + } + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure TaskManagementDbMigrator connection string in appsettings.json + +2. Run Migration Program + ```bash + dotnet run + ``` + +## Command Line Arguments + +* --database-provider + * Specify database provider (default: MySQL) +* --connection-string + * Specify database connection string +* --skip-db-migrations + * Skip database migrations +* --skip-seed-data + * Skip seed data initialization + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [EF Core Migrations Documentation](https://docs.microsoft.com/en-us/ef/core/managing-schemas/migrations/) diff --git a/aspnet-core/migrations/LY.MicroService.TaskManagement.DbMigrator/README.md b/aspnet-core/migrations/LY.MicroService.TaskManagement.DbMigrator/README.md new file mode 100644 index 000000000..022349040 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.TaskManagement.DbMigrator/README.md @@ -0,0 +1,65 @@ +# LY.MicroService.TaskManagement.DbMigrator + +任务管理数据库迁移控制台应用程序,用于执行任务管理系统的数据库迁移和初始化种子数据。 + +[English](./README.EN.md) + +## 功能特性 + +* 自动执行数据库迁移 +* 初始化系统必要的种子数据 +* 支持命令行参数配置 +* 集成Autofac依赖注入容器 +* 继承任务管理系统的所有迁移功能 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(TaskManagementMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "TaskManagementDbMigrator": "你的数据库连接字符串" + }, + "IdentityServer": { + "Clients": { + "TaskManagement_App": { + "ClientId": "TaskManagement_App" + } + } + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置TaskManagementDbMigrator连接字符串 + +2. 运行迁移程序 + ```bash + dotnet run + ``` + +## 命令行参数 + +* --database-provider + * 指定数据库提供程序 (默认: MySQL) +* --connection-string + * 指定数据库连接字符串 +* --skip-db-migrations + * 跳过数据库迁移 +* --skip-seed-data + * 跳过种子数据初始化 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [EF Core迁移文档](https://docs.microsoft.com/zh-cn/ef/core/managing-schemas/migrations/) diff --git a/aspnet-core/migrations/LY.MicroService.TaskManagement.EntityFrameworkCore/README.EN.md b/aspnet-core/migrations/LY.MicroService.TaskManagement.EntityFrameworkCore/README.EN.md new file mode 100644 index 000000000..204c9aa0f --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.TaskManagement.EntityFrameworkCore/README.EN.md @@ -0,0 +1,68 @@ +# LY.MicroService.TaskManagement.EntityFrameworkCore + +Task Management Database Migration Module, providing database migration functionality for the task management system. + +[简体中文](./README.md) + +## Features + +* Integrated SaaS multi-tenancy data migration +* Integrated Task Management data migration +* Integrated Setting Management data migration +* Integrated Permission Management data migration +* Integrated Feature Management data migration +* Support for MySQL database + +## Module Dependencies + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(TaskManagementEntityFrameworkCoreModule), + typeof(AbpEntityFrameworkCoreMySQLModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "TaskManagementDbMigrator": "Your database connection string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure TaskManagementDbMigrator connection string in appsettings.json + +2. Add Module Dependency + ```csharp + [DependsOn(typeof(TaskManagementMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## Database Tables Description + +* AbpTasks - Task basic information table +* AbpTaskCategories - Task categories table +* AbpTaskStatuses - Task statuses table +* AbpTaskAssignments - Task assignments table +* Saas Related Tables - Tenant, edition and other multi-tenancy related data +* AbpSettings - System settings data +* AbpPermissionGrants - Permission authorization data +* AbpFeatures - Feature data + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [ABP Task Management Module](https://github.com/colinin/abp-next-admin/tree/master/aspnet-core/modules/task-management) diff --git a/aspnet-core/migrations/LY.MicroService.TaskManagement.EntityFrameworkCore/README.md b/aspnet-core/migrations/LY.MicroService.TaskManagement.EntityFrameworkCore/README.md new file mode 100644 index 000000000..b98067158 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.TaskManagement.EntityFrameworkCore/README.md @@ -0,0 +1,68 @@ +# LY.MicroService.TaskManagement.EntityFrameworkCore + +任务管理数据迁移模块,提供任务管理系统相关的数据库迁移功能。 + +[English](./README.EN.md) + +## 功能特性 + +* 集成SaaS多租户数据迁移 +* 集成任务管理数据迁移 +* 集成设置管理数据迁移 +* 集成权限管理数据迁移 +* 集成特性管理数据迁移 +* 支持MySQL数据库 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(TaskManagementEntityFrameworkCoreModule), + typeof(AbpEntityFrameworkCoreMySQLModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "TaskManagementDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置TaskManagementDbMigrator连接字符串 + +2. 添加模块依赖 + ```csharp + [DependsOn(typeof(TaskManagementMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## 数据库表说明 + +* AbpTasks - 任务基本信息表 +* AbpTaskCategories - 任务分类表 +* AbpTaskStatuses - 任务状态表 +* AbpTaskAssignments - 任务分配表 +* Saas相关表 - 租户、版本等多租户相关数据 +* AbpSettings - 系统设置数据 +* AbpPermissionGrants - 权限授权数据 +* AbpFeatures - 功能特性数据 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [ABP任务管理模块](https://github.com/colinin/abp-next-admin/tree/master/aspnet-core/modules/task-management) diff --git a/aspnet-core/migrations/LY.MicroService.WebhooksManagement.DbMigrator/README.EN.md b/aspnet-core/migrations/LY.MicroService.WebhooksManagement.DbMigrator/README.EN.md new file mode 100644 index 000000000..7c7afceec --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.WebhooksManagement.DbMigrator/README.EN.md @@ -0,0 +1,65 @@ +# LY.MicroService.WebhooksManagement.DbMigrator + +Webhooks Management Database Migration Console Application, used for executing database migrations and initializing seed data for the webhooks management system. + +[简体中文](./README.md) + +## Features + +* Automatic database migration execution +* Initialize necessary system seed data +* Support command line parameter configuration +* Integrated Autofac dependency injection container +* Inherit all migration features from webhooks management system + +## Module Dependencies + +```csharp +[DependsOn( + typeof(WebhooksManagementMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "WebhooksManagementDbMigrator": "Your database connection string" + }, + "IdentityServer": { + "Clients": { + "WebhooksManagement_App": { + "ClientId": "WebhooksManagement_App" + } + } + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure WebhooksManagementDbMigrator connection string in appsettings.json + +2. Run Migration Program + ```bash + dotnet run + ``` + +## Command Line Arguments + +* --database-provider + * Specify database provider (default: MySQL) +* --connection-string + * Specify database connection string +* --skip-db-migrations + * Skip database migrations +* --skip-seed-data + * Skip seed data initialization + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [EF Core Migrations Documentation](https://docs.microsoft.com/en-us/ef/core/managing-schemas/migrations/) diff --git a/aspnet-core/migrations/LY.MicroService.WebhooksManagement.DbMigrator/README.md b/aspnet-core/migrations/LY.MicroService.WebhooksManagement.DbMigrator/README.md new file mode 100644 index 000000000..9b739fc14 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.WebhooksManagement.DbMigrator/README.md @@ -0,0 +1,65 @@ +# LY.MicroService.WebhooksManagement.DbMigrator + +Webhooks管理数据库迁移控制台应用程序,用于执行Webhooks管理系统的数据库迁移和初始化种子数据。 + +[English](./README.EN.md) + +## 功能特性 + +* 自动执行数据库迁移 +* 初始化系统必要的种子数据 +* 支持命令行参数配置 +* 集成Autofac依赖注入容器 +* 继承Webhooks管理系统的所有迁移功能 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(WebhooksManagementMigrationsEntityFrameworkCoreModule), + typeof(AbpAutofacModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "WebhooksManagementDbMigrator": "你的数据库连接字符串" + }, + "IdentityServer": { + "Clients": { + "WebhooksManagement_App": { + "ClientId": "WebhooksManagement_App" + } + } + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置WebhooksManagementDbMigrator连接字符串 + +2. 运行迁移程序 + ```bash + dotnet run + ``` + +## 命令行参数 + +* --database-provider + * 指定数据库提供程序 (默认: MySQL) +* --connection-string + * 指定数据库连接字符串 +* --skip-db-migrations + * 跳过数据库迁移 +* --skip-seed-data + * 跳过种子数据初始化 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [EF Core迁移文档](https://docs.microsoft.com/zh-cn/ef/core/managing-schemas/migrations/) diff --git a/aspnet-core/migrations/LY.MicroService.WebhooksManagement.EntityFrameworkCore/README.EN.md b/aspnet-core/migrations/LY.MicroService.WebhooksManagement.EntityFrameworkCore/README.EN.md new file mode 100644 index 000000000..58bfe8b95 --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.WebhooksManagement.EntityFrameworkCore/README.EN.md @@ -0,0 +1,69 @@ +# LY.MicroService.WebhooksManagement.EntityFrameworkCore + +Webhooks Management Database Migration Module, providing database migration functionality for the webhooks management system. + +[简体中文](./README.md) + +## Features + +* Integrated SaaS multi-tenancy data migration +* Integrated Webhooks Management data migration +* Integrated Setting Management data migration +* Integrated Permission Management data migration +* Integrated Feature Management data migration +* Support for MySQL database + +## Module Dependencies + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(WebhooksManagementEntityFrameworkCoreModule), + typeof(AbpEntityFrameworkCoreMySQLModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## Configuration + +```json +{ + "ConnectionStrings": { + "WebhooksManagementDbMigrator": "Your database connection string" + } +} +``` + +## Basic Usage + +1. Configure Database Connection String + * Configure WebhooksManagementDbMigrator connection string in appsettings.json + +2. Add Module Dependency + ```csharp + [DependsOn(typeof(WebhooksManagementMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## Database Tables Description + +* AbpWebhooks - Webhooks basic information table +* AbpWebhookSubscriptions - Webhooks subscriptions table +* AbpWebhookGroups - Webhooks groups table +* AbpWebhookEvents - Webhooks events table +* AbpWebhookSendAttempts - Webhooks send attempts table +* Saas Related Tables - Tenant, edition and other multi-tenancy related data +* AbpSettings - System settings data +* AbpPermissionGrants - Permission authorization data +* AbpFeatures - Feature data + +## More Information + +* [ABP Documentation](https://docs.abp.io) +* [ABP Webhooks Module](https://github.com/colinin/abp-next-admin/tree/master/aspnet-core/modules/webhooks-management) diff --git a/aspnet-core/migrations/LY.MicroService.WebhooksManagement.EntityFrameworkCore/README.md b/aspnet-core/migrations/LY.MicroService.WebhooksManagement.EntityFrameworkCore/README.md new file mode 100644 index 000000000..b7a950adf --- /dev/null +++ b/aspnet-core/migrations/LY.MicroService.WebhooksManagement.EntityFrameworkCore/README.md @@ -0,0 +1,69 @@ +# LY.MicroService.WebhooksManagement.EntityFrameworkCore + +Webhooks管理数据迁移模块,提供Webhooks管理系统相关的数据库迁移功能。 + +[English](./README.EN.md) + +## 功能特性 + +* 集成SaaS多租户数据迁移 +* 集成Webhooks管理数据迁移 +* 集成设置管理数据迁移 +* 集成权限管理数据迁移 +* 集成特性管理数据迁移 +* 支持MySQL数据库 + +## 模块依赖 + +```csharp +[DependsOn( + typeof(AbpSaasEntityFrameworkCoreModule), + typeof(WebhooksManagementEntityFrameworkCoreModule), + typeof(AbpEntityFrameworkCoreMySQLModule), + typeof(AbpSettingManagementEntityFrameworkCoreModule), + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + typeof(AbpDataDbMigratorModule) +)] +``` + +## 配置项 + +```json +{ + "ConnectionStrings": { + "WebhooksManagementDbMigrator": "你的数据库连接字符串" + } +} +``` + +## 基本用法 + +1. 配置数据库连接字符串 + * 在appsettings.json中配置WebhooksManagementDbMigrator连接字符串 + +2. 添加模块依赖 + ```csharp + [DependsOn(typeof(WebhooksManagementMigrationsEntityFrameworkCoreModule))] + public class YourModule : AbpModule + { + // ... + } + ``` + +## 数据库表说明 + +* AbpWebhooks - Webhooks基本信息表 +* AbpWebhookSubscriptions - Webhooks订阅表 +* AbpWebhookGroups - Webhooks分组表 +* AbpWebhookEvents - Webhooks事件表 +* AbpWebhookSendAttempts - Webhooks发送记录表 +* Saas相关表 - 租户、版本等多租户相关数据 +* AbpSettings - 系统设置数据 +* AbpPermissionGrants - 权限授权数据 +* AbpFeatures - 功能特性数据 + +## 更多信息 + +* [ABP文档](https://docs.abp.io) +* [ABP Webhooks模块](https://github.com/colinin/abp-next-admin/tree/master/aspnet-core/modules/webhooks-management)