diff --git a/aspnet-core/LINGYUN.MicroService.SingleProject.sln b/aspnet-core/LINGYUN.MicroService.SingleProject.sln
index 2ad060934..df82b0fb8 100644
--- a/aspnet-core/LINGYUN.MicroService.SingleProject.sln
+++ b/aspnet-core/LINGYUN.MicroService.SingleProject.sln
@@ -608,6 +608,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LINGYUN.Abp.Elsa.EntityFram
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql", "migrations\LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql\LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.csproj", "{5A07FFDF-F979-44F9-BE24-81D6A25BEADB}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LY.MicroService.Applications.Single.EntityFrameworkCore.MySql", "migrations\LY.MicroService.Applications.Single.EntityFrameworkCore.MySql\LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.csproj", "{2B167D92-2327-4679-9096-49F274FABE0C}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -2097,6 +2099,12 @@ Global
{5A07FFDF-F979-44F9-BE24-81D6A25BEADB}.Release|Any CPU.Build.0 = Release|Any CPU
{5A07FFDF-F979-44F9-BE24-81D6A25BEADB}.PostgreSQL|Any CPU.ActiveCfg = PostgreSQL|Any CPU
{5A07FFDF-F979-44F9-BE24-81D6A25BEADB}.PostgreSQL|Any CPU.Build.0 = PostgreSQL|Any CPU
+ {2B167D92-2327-4679-9096-49F274FABE0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2B167D92-2327-4679-9096-49F274FABE0C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2B167D92-2327-4679-9096-49F274FABE0C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2B167D92-2327-4679-9096-49F274FABE0C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2B167D92-2327-4679-9096-49F274FABE0C}.PostgreSQL|Any CPU.ActiveCfg = PostgreSQL|Any CPU
+ {2B167D92-2327-4679-9096-49F274FABE0C}.PostgreSQL|Any CPU.Build.0 = PostgreSQL|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -2392,6 +2400,7 @@ Global
{8D0C8993-580A-4585-BE3B-87895C76FC89} = {07DFEB1E-ED92-4E97-A801-FAB2D70F4F35}
{AA742577-63B0-4188-AA36-AC6E0ED99BB6} = {07DFEB1E-ED92-4E97-A801-FAB2D70F4F35}
{5A07FFDF-F979-44F9-BE24-81D6A25BEADB} = {0D69B63D-F082-4D57-9FF0-355642C56993}
+ {2B167D92-2327-4679-9096-49F274FABE0C} = {0D69B63D-F082-4D57-9FF0-355642C56993}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {711A43C0-A2F8-4E5C-9B9F-F2551E4B3FF1}
diff --git a/aspnet-core/LY.MicroService.Applications.Single.DbMigrator/appsettings.MySql.json b/aspnet-core/LY.MicroService.Applications.Single.DbMigrator/appsettings.MySql.json
new file mode 100644
index 000000000..d5a6142c5
--- /dev/null
+++ b/aspnet-core/LY.MicroService.Applications.Single.DbMigrator/appsettings.MySql.json
@@ -0,0 +1,9 @@
+{
+ "ConnectionStrings": {
+ "Default": "Server=localhost;Port=3306;Database=SingleService;Uid=root;Pwd=myPassword;",
+ "AbpAuditLogging": "Server=localhost;Port=3306;Database=SingleService_AuditLogs;Uid=root;Pwd=myPassword;",
+ "AbpFeatureManagement": "Server=localhost;Port=3306;Database=SingleService_Features;Uid=root;Pwd=myPassword;",
+ "AbpPermissionManagement": "Server=localhost;Port=3306;Database=SingleService_Permissions;Uid=root;Pwd=myPassword;",
+ "AbpSettingManagement": "Server=localhost;Port=3306;Database=SingleService_Settings;Uid=root;Pwd=myPassword;"
+ }
+}
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/FodyWeavers.xml b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/FodyWeavers.xml
new file mode 100644
index 000000000..be68c182b
--- /dev/null
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/FodyWeavers.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/FodyWeavers.xsd b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/FodyWeavers.xsd
new file mode 100644
index 000000000..757ba7b39
--- /dev/null
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/FodyWeavers.xsd
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Use to enforce assembly verification.
+
+
+
+
+ A comma-separated list of error codes that can be safely ignored.
+
+
+
+
+
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.csproj b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.csproj
new file mode 100644
index 000000000..c7d0d32f2
--- /dev/null
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.csproj
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+ net8.0
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+
+
+
+
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231012032107_Initial-Single-Project.Designer.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.Designer.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231012032107_Initial-Single-Project.Designer.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.Designer.cs
index ec80beee5..48d2f9a55 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231012032107_Initial-Single-Project.Designer.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.Designer.cs
@@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
[DbContext(typeof(SingleMigrationsDbContext))]
[Migration("20231012032107_Initial-Single-Project")]
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231012032107_Initial-Single-Project.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231012032107_Initial-Single-Project.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.cs
index 0c50912ac..62a979f8a 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231012032107_Initial-Single-Project.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.cs
@@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
///
public partial class InitialSingleProject : Migration
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs
index 4b7b9032a..140582a8f 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs
@@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
[DbContext(typeof(SingleMigrationsDbContext))]
[Migration("20231016100545_Add-Field-With-Text-Template-Definition")]
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs
similarity index 98%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs
index 35cdf9953..a262ebc12 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs
@@ -2,7 +2,7 @@
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
///
public partial class AddFieldWithTextTemplateDefinition : Migration
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs
index 79cefc83f..ccdacf30f 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs
@@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
[DbContext(typeof(SingleMigrationsDbContext))]
[Migration("20231026015443_Add-Field-With-Notification-Definition")]
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs
similarity index 97%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs
index 21292f1a7..63f73e233 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs
@@ -2,7 +2,7 @@
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
///
public partial class AddFieldWithNotificationDefinition : Migration
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs
index c7b659567..ed1919666 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs
@@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
[DbContext(typeof(SingleMigrationsDbContext))]
[Migration("20231028000247_Fix-Notification-Template-Length")]
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231028000247_Fix-Notification-Template-Length.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.cs
similarity index 98%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231028000247_Fix-Notification-Template-Length.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.cs
index d4979f6cb..4982c2bac 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231028000247_Fix-Notification-Template-Length.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.cs
@@ -2,7 +2,7 @@
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
///
public partial class FixNotificationTemplateLength : Migration
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs
index faa707458..fa31ab6c8 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs
@@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
[DbContext(typeof(SingleMigrationsDbContext))]
[Migration("20231222014501_Upgrade-Abp-Framework-To-8.0.0")]
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs
index 3c987c6ed..a42b3a443 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs
@@ -2,7 +2,7 @@
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
///
public partial class UpgradeAbpFrameworkTo800 : Migration
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs
index bc9cbe5ef..d8ec5faf5 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs
@@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
[DbContext(typeof(SingleMigrationsDbContext))]
[Migration("20240217054527_Upgrade-Abp-Framework-To-8.0.3")]
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs
index 9a5a2d2d0..0601d630f 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs
@@ -2,7 +2,7 @@
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
///
public partial class UpgradeAbpFrameworkTo803 : Migration
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs
index 16bdefa42..a9c23b520 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs
@@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
[DbContext(typeof(SingleMigrationsDbContext))]
[Migration("20240624002940_Upgrade-Abp-Framework-To-8.1.3")]
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs
index 073e61c36..b7850271b 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs
@@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
///
public partial class UpgradeAbpFrameworkTo813 : Migration
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs
index 3bd2486d3..794389310 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs
@@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
[DbContext(typeof(SingleMigrationsDbContext))]
[Migration("20240729102008_Upgrade-Abp-Framework-To-8-2-0")]
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs
index 161528722..5849eba96 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs
@@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
///
public partial class UpgradeAbpFrameworkTo820 : Migration
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240929080118_Add-Demo-Module.Designer.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.Designer.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240929080118_Add-Demo-Module.Designer.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.Designer.cs
index 8d64f6a7f..bde5318bc 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240929080118_Add-Demo-Module.Designer.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.Designer.cs
@@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
[DbContext(typeof(SingleMigrationsDbContext))]
[Migration("20240929080118_Add-Demo-Module")]
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240929080118_Add-Demo-Module.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.cs
similarity index 99%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240929080118_Add-Demo-Module.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.cs
index bbf9c68b9..0ebb2cad1 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/20240929080118_Add-Demo-Module.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.cs
@@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
+namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations
{
///
public partial class AddDemoModule : Migration
diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/SingleMigrationsDbContextModelSnapshot.cs b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/SingleMigrationsDbContextModelSnapshot.cs
similarity index 97%
rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/SingleMigrationsDbContextModelSnapshot.cs
rename to aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/SingleMigrationsDbContextModelSnapshot.cs
index b7be23f59..323306a7d 100644
--- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/Migrations/SingleMigrationsDbContextModelSnapshot.cs
+++ b/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/SingleMigrationsDbContextModelSnapshot.cs
@@ -1,5536 +1,5536 @@
-//
-using System;
-using LY.MicroService.Applications.Single.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations
-{
- [DbContext(typeof(SingleMigrationsDbContext))]
- partial class SingleMigrationsDbContextModelSnapshot : ModelSnapshot
- {
- protected override void BuildModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
- .HasAnnotation("ProductVersion", "8.0.4")
- .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
- MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
-
- modelBuilder.Entity("LINGYUN.Abp.Demo.Authors.Author", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("char(36)");
-
- b.Property("BirthDate")
- .HasColumnType("datetime(6)");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("varchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnType("char(36)")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("DeletionTime");
-
- b.Property("ExtraProperties")
- .IsRequired()
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("char(36)")
- .HasColumnName("LastModifierId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("varchar(64)");
-
- b.Property("ShortBio")
- .HasColumnType("longtext");
-
- b.HasKey("Id");
-
- b.HasIndex("Name");
-
- b.ToTable("Demo_Authors", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.Demo.Books.Book", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("char(36)");
-
- b.Property("AuthorId")
- .HasColumnType("char(36)");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("varchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("ExtraProperties")
- .IsRequired()
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("char(36)")
- .HasColumnName("LastModifierId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128)
- .HasColumnType("varchar(128)");
-
- b.Property("Price")
- .HasColumnType("float");
-
- b.Property("PublishDate")
- .HasColumnType("datetime(6)");
-
- b.Property("Type")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.HasIndex("AuthorId");
-
- b.ToTable("Demo_Books", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.LocalizationManagement.Language", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("char(36)");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("CultureName")
- .IsRequired()
- .HasMaxLength(20)
- .HasColumnType("varchar(20)")
- .HasColumnName("CultureName");
-
- b.Property("DisplayName")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("varchar(64)")
- .HasColumnName("DisplayName");
-
- b.Property("Enable")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(true);
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("char(36)")
- .HasColumnName("LastModifierId");
-
- b.Property("TwoLetterISOLanguageName")
- .HasMaxLength(30)
- .HasColumnType("varchar(30)")
- .HasColumnName("TwoLetterISOLanguageName");
-
- b.Property("UiCultureName")
- .IsRequired()
- .HasMaxLength(20)
- .HasColumnType("varchar(20)")
- .HasColumnName("UiCultureName");
-
- b.HasKey("Id");
-
- b.HasIndex("CultureName");
-
- b.ToTable("AbpLocalizationLanguages", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.LocalizationManagement.Resource", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("char(36)");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("DefaultCultureName")
- .HasMaxLength(64)
- .HasColumnType("varchar(64)")
- .HasColumnName("DefaultCultureName");
-
- b.Property("Description")
- .HasMaxLength(64)
- .HasColumnType("varchar(64)")
- .HasColumnName("Description");
-
- b.Property("DisplayName")
- .HasMaxLength(64)
- .HasColumnType("varchar(64)")
- .HasColumnName("DisplayName");
-
- b.Property("Enable")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(true);
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("char(36)")
- .HasColumnName("LastModifierId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasColumnName("Name");
-
- b.HasKey("Id");
-
- b.HasIndex("Name");
-
- b.ToTable("AbpLocalizationResources", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.LocalizationManagement.Text", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CultureName")
- .IsRequired()
- .HasMaxLength(20)
- .HasColumnType("varchar(20)")
- .HasColumnName("CultureName");
-
- b.Property("Key")
- .IsRequired()
- .HasMaxLength(512)
- .HasColumnType("varchar(512)")
- .HasColumnName("Key");
-
- b.Property("ResourceName")
- .HasColumnType("longtext");
-
- b.Property("Value")
- .HasMaxLength(2048)
- .HasColumnType("varchar(2048)")
- .HasColumnName("Value");
-
- b.HasKey("Id");
-
- b.HasIndex("Key");
-
- b.ToTable("AbpLocalizationTexts", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.MessageService.Chat.UserChatCard", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Age")
- .HasColumnType("int");
-
- b.Property("AvatarUrl")
- .HasMaxLength(512)
- .HasColumnType("varchar(512)");
-
- b.Property("Birthday")
- .HasColumnType("datetime(6)");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("varchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("Description")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)");
-
- b.Property("ExtraProperties")
- .IsRequired()
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("char(36)")
- .HasColumnName("LastModifierId");
-
- b.Property("LastOnlineTime")
- .HasColumnType("datetime(6)");
-
- b.Property("NickName")
- .HasMaxLength(256)
- .HasColumnType("varchar(256)");
-
- b.Property("Sex")
- .HasColumnType("int");
-
- b.Property("Sign")
- .HasMaxLength(30)
- .HasColumnType("varchar(30)");
-
- b.Property("State")
- .HasColumnType("int");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.Property("UserId")
- .HasColumnType("char(36)");
-
- b.Property("UserName")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("varchar(256)");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "UserId");
-
- b.ToTable("AppUserChatCards", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.MessageService.Chat.UserChatFriend", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Black")
- .HasColumnType("tinyint(1)");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("varchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("Description")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)");
-
- b.Property("DontDisturb")
- .HasColumnType("tinyint(1)");
-
- b.Property("ExtraProperties")
- .IsRequired()
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("FrientId")
- .HasColumnType("char(36)");
-
- b.Property("IsStatic")
- .HasColumnType("tinyint(1)");
-
- b.Property("RemarkName")
- .HasMaxLength(256)
- .HasColumnType("varchar(256)");
-
- b.Property("SpecialFocus")
- .HasColumnType("tinyint(1)");
-
- b.Property("Status")
- .HasColumnType("tinyint unsigned");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.Property("UserId")
- .HasColumnType("char(36)");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "UserId", "FrientId");
-
- b.ToTable("AppUserChatFriends", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.MessageService.Chat.UserChatSetting", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("AllowAddFriend")
- .HasColumnType("tinyint(1)");
-
- b.Property("AllowAnonymous")
- .HasColumnType("tinyint(1)");
-
- b.Property("AllowReceiveMessage")
- .HasColumnType("tinyint(1)");
-
- b.Property("AllowSendMessage")
- .HasColumnType("tinyint(1)");
-
- b.Property("RequireAddFriendValition")
- .HasColumnType("tinyint(1)");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.Property("UserId")
- .HasColumnType("char(36)");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "UserId");
-
- b.ToTable("AppUserChatSettings", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.MessageService.Chat.UserMessage", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("varchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("Content")
- .IsRequired()
- .HasMaxLength(1048576)
- .HasColumnType("longtext");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("ExtraProperties")
- .IsRequired()
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("MessageId")
- .HasColumnType("bigint");
-
- b.Property("ReceiveUserId")
- .HasColumnType("char(36)");
-
- b.Property("SendUserName")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("varchar(64)");
-
- b.Property("Source")
- .HasColumnType("int");
-
- b.Property("State")
- .HasColumnType("tinyint");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.Property("Type")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "ReceiveUserId");
-
- b.ToTable("AppUserMessages", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.MessageService.Groups.ChatGroup", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Address")
- .HasMaxLength(256)
- .HasColumnType("varchar(256)");
-
- b.Property("AdminUserId")
- .HasColumnType("char(36)");
-
- b.Property("AllowAnonymous")
- .HasColumnType("tinyint(1)");
-
- b.Property("AllowSendMessage")
- .HasColumnType("tinyint(1)");
-
- b.Property("AvatarUrl")
- .HasMaxLength(128)
- .HasColumnType("varchar(128)");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("Description")
- .HasMaxLength(128)
- .HasColumnType("varchar(128)");
-
- b.Property("GroupId")
- .HasColumnType("bigint");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("char(36)")
- .HasColumnName("LastModifierId");
-
- b.Property("MaxUserCount")
- .HasColumnType("int");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(20)
- .HasColumnType("varchar(20)");
-
- b.Property("Notice")
- .HasMaxLength(64)
- .HasColumnType("varchar(64)");
-
- b.Property("Tag")
- .HasMaxLength(512)
- .HasColumnType("varchar(512)");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "Name");
-
- b.ToTable("AppChatGroups", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.MessageService.Groups.GroupChatBlack", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("GroupId")
- .HasColumnType("bigint");
-
- b.Property("ShieldUserId")
- .HasColumnType("char(36)");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "GroupId");
-
- b.ToTable("AppGroupChatBlacks", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.MessageService.Groups.GroupMessage", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("varchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("Content")
- .IsRequired()
- .HasMaxLength(1048576)
- .HasColumnType("longtext");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("ExtraProperties")
- .IsRequired()
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("GroupId")
- .HasColumnType("bigint");
-
- b.Property("MessageId")
- .HasColumnType("bigint");
-
- b.Property("SendUserName")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("varchar(64)");
-
- b.Property("Source")
- .HasColumnType("int");
-
- b.Property("State")
- .HasColumnType("tinyint");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.Property("Type")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "GroupId");
-
- b.ToTable("AppGroupMessages", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.MessageService.Groups.UserChatGroup", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("GroupId")
- .HasColumnType("bigint");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.Property("UserId")
- .HasColumnType("char(36)");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "GroupId", "UserId");
-
- b.ToTable("AppUserChatGroups", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.MessageService.Groups.UserGroupCard", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("varchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("ExtraProperties")
- .IsRequired()
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsAdmin")
- .HasColumnType("tinyint(1)");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("char(36)")
- .HasColumnName("LastModifierId");
-
- b.Property("NickName")
- .HasMaxLength(256)
- .HasColumnType("varchar(256)");
-
- b.Property("SilenceEnd")
- .HasColumnType("datetime(6)");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.Property("UserId")
- .HasColumnType("char(36)");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "UserId");
-
- b.ToTable("AppUserGroupCards", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.Notifications.Notification", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("ContentType")
- .ValueGeneratedOnAdd()
- .HasColumnType("int")
- .HasDefaultValue(0);
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("ExpirationTime")
- .HasColumnType("datetime(6)");
-
- b.Property("ExtraProperties")
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("NotificationId")
- .HasColumnType("bigint");
-
- b.Property("NotificationName")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("varchar(255)");
-
- b.Property("NotificationTypeName")
- .IsRequired()
- .HasMaxLength(512)
- .HasColumnType("varchar(512)");
-
- b.Property("Severity")
- .HasColumnType("tinyint");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.Property("Type")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "NotificationName");
-
- b.ToTable("AppNotifications", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.Notifications.NotificationDefinitionGroupRecord", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("char(36)");
-
- b.Property("AllowSubscriptionToClients")
- .HasColumnType("tinyint(1)");
-
- b.Property("Description")
- .HasMaxLength(255)
- .HasColumnType("varchar(255)");
-
- b.Property("DisplayName")
- .HasMaxLength(255)
- .HasColumnType("varchar(255)");
-
- b.Property("ExtraProperties")
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("varchar(255)");
-
- b.HasKey("Id");
-
- b.ToTable("AppNotificationDefinitionGroups", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.Notifications.NotificationDefinitionRecord", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("char(36)");
-
- b.Property("AllowSubscriptionToClients")
- .HasColumnType("tinyint(1)");
-
- b.Property("ContentType")
- .ValueGeneratedOnAdd()
- .HasColumnType("int")
- .HasDefaultValue(0);
-
- b.Property("Description")
- .HasMaxLength(255)
- .HasColumnType("varchar(255)");
-
- b.Property("DisplayName")
- .HasMaxLength(255)
- .HasColumnType("varchar(255)");
-
- b.Property("ExtraProperties")
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("GroupName")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("varchar(255)");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("varchar(255)");
-
- b.Property("NotificationLifetime")
- .HasColumnType("int");
-
- b.Property("NotificationType")
- .HasColumnType("int");
-
- b.Property("Providers")
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("Template")
- .HasMaxLength(128)
- .HasColumnType("varchar(128)");
-
- b.HasKey("Id");
-
- b.ToTable("AppNotificationDefinitions", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.Notifications.UserNotification", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("NotificationId")
- .HasColumnType("bigint");
-
- b.Property("ReadStatus")
- .HasColumnType("int");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.Property("UserId")
- .HasColumnType("char(36)");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "UserId", "NotificationId")
- .HasDatabaseName("IX_Tenant_User_Notification_Id");
-
- b.ToTable("AppUserNotifications", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.Notifications.UserSubscribe", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("NotificationName")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("varchar(255)");
-
- b.Property("TenantId")
- .HasColumnType("char(36)")
- .HasColumnName("TenantId");
-
- b.Property("UserId")
- .HasColumnType("char(36)");
-
- b.Property("UserName")
- .IsRequired()
- .ValueGeneratedOnAdd()
- .HasMaxLength(128)
- .HasColumnType("varchar(128)")
- .HasDefaultValue("/");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "UserId", "NotificationName")
- .IsUnique()
- .HasDatabaseName("IX_Tenant_User_Notification_Name");
-
- b.ToTable("AppUserSubscribes", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.Saas.Editions.Edition", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("char(36)");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("varchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnType("char(36)")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("DeletionTime");
-
- b.Property("DisplayName")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("varchar(64)");
-
- b.Property("EntityVersion")
- .HasColumnType("int");
-
- b.Property("ExtraProperties")
- .IsRequired()
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("char(36)")
- .HasColumnName("LastModifierId");
-
- b.HasKey("Id");
-
- b.HasIndex("DisplayName");
-
- b.ToTable("AbpEditions", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.Saas.Tenants.Tenant", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("char(36)");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("varchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnType("char(36)")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("DeletionTime");
-
- b.Property("DisableTime")
- .HasColumnType("datetime(6)");
-
- b.Property("EditionId")
- .HasColumnType("char(36)");
-
- b.Property("EnableTime")
- .HasColumnType("datetime(6)");
-
- b.Property("EntityVersion")
- .HasColumnType("int");
-
- b.Property("ExtraProperties")
- .IsRequired()
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsActive")
- .HasColumnType("tinyint(1)");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("char(36)")
- .HasColumnName("LastModifierId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("varchar(64)");
-
- b.Property("NormalizedName")
- .HasMaxLength(64)
- .HasColumnType("varchar(64)");
-
- b.HasKey("Id");
-
- b.HasIndex("EditionId");
-
- b.HasIndex("Name");
-
- b.HasIndex("NormalizedName");
-
- b.ToTable("AbpTenants", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.Saas.Tenants.TenantConnectionString", b =>
- {
- b.Property("TenantId")
- .HasColumnType("char(36)");
-
- b.Property("Name")
- .HasMaxLength(64)
- .HasColumnType("varchar(64)");
-
- b.Property("Value")
- .IsRequired()
- .HasMaxLength(1024)
- .HasColumnType("varchar(1024)");
-
- b.HasKey("TenantId", "Name");
-
- b.ToTable("AbpTenantConnectionStrings", (string)null);
- });
-
- modelBuilder.Entity("LINGYUN.Abp.TaskManagement.BackgroundJobAction", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("char(36)");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("varchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("char(36)")
- .HasColumnName("CreatorId");
-
- b.Property("ExtraProperties")
- .IsRequired()
- .HasColumnType("longtext")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsEnabled")
- .HasColumnType("tinyint(1)");
-
- b.Property("JobId")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("varchar(255)")
- .HasColumnName("JobId");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime(6)")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("char(36)")
- .HasColumnName("LastModifierId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(100)
- .HasColumnType("varchar(100)")
- .HasColumnName("Name");
-
- b.Property