diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/PackageName.CompanyName.ProjectName.AIO.DbMigrator.csproj b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/PackageName.CompanyName.ProjectName.AIO.DbMigrator.csproj
index 3fe9a4c81..574414b4c 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/PackageName.CompanyName.ProjectName.AIO.DbMigrator.csproj
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/PackageName.CompanyName.ProjectName.AIO.DbMigrator.csproj
@@ -29,9 +29,6 @@
PreserveNewest
-
- PreserveNewest
-
PreserveNewest
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/Program.cs b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/Program.cs
index 7153c46d4..53d5c10e2 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/Program.cs
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/Program.cs
@@ -15,9 +15,9 @@ public class Program
.MinimumLevel.Override("Microsoft", LogEventLevel.Warning)
.MinimumLevel.Override("Volo.Abp", LogEventLevel.Warning)
#if DEBUG
- .MinimumLevel.Override("LY.MicroService.Applications.Single.DbMigrator", LogEventLevel.Debug)
+ .MinimumLevel.Override("PackageName.CompanyName.ProjectName.AIO.DbMigrator", LogEventLevel.Debug)
#else
- .MinimumLevel.Override("LY.MicroService.Applications.Single.DbMigrator", LogEventLevel.Information)
+ .MinimumLevel.Override("PackageName.CompanyName.ProjectName.AIO.DbMigrator", LogEventLevel.Information)
#endif
.Enrich.FromLogContext()
.WriteTo.Console()
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/README.EN.md b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/README.EN.md
index e60db3ab6..83caf7b08 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/README.EN.md
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/README.EN.md
@@ -1,4 +1,4 @@
-# LY.MicroService.Applications.Single.DbMigrator
+# PackageName.CompanyName.ProjectName.AIO.DbMigrator
Single application database migration tool for automatically executing database migrations and initializing data.
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/README.md b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/README.md
index 1a997f51b..28fa306fe 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/README.md
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/README.md
@@ -1,4 +1,4 @@
-# LY.MicroService.Applications.Single.DbMigrator
+# PackageName.CompanyName.ProjectName.AIO.DbMigrator
单体应用数据库迁移工具,用于自动执行数据库迁移和初始化数据。
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/SingleDbMigratorHostedService.cs b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/SingleDbMigratorHostedService.cs
index 2c15b65f1..a78908fa1 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/SingleDbMigratorHostedService.cs
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/SingleDbMigratorHostedService.cs
@@ -1,4 +1,4 @@
-using LY.MicroService.Applications.Single.EntityFrameworkCore;
+using PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.MySql.json b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.MySql.json
deleted file mode 100644
index d6bbaf791..000000000
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.MySql.json
+++ /dev/null
@@ -1,228 +0,0 @@
-{
- "App": {
- "ShowPii": true,
- "SelfUrl": "http://127.0.0.1:30001/",
- "CorsOrigins": "http://127.0.0.1:3100,http://127.0.0.1:30001",
- "Urls": {
- "Applications": {
- "MVC": {
- "RootUrl": "http://127.0.0.1:30001/",
- "Urls": {
- "Abp.Account.EmailConfirm": "Account/EmailConfirm",
- "Abp.Account.EmailVerifyLogin": "Account/VerifyCode"
- }
- },
- "STS": {
- "RootUrl": "http://127.0.0.1:30001/"
- },
- "VueVbenAdmin": {
- "RootUrl": "http://127.0.0.1:3100",
- "Urls": {
- "Abp.Account.EmailConfirm": "account/email-confirm"
- }
- }
- }
- }
- },
- "Auditing": {
- "AllEntitiesSelector": true
- },
- "DistributedCache": {
- "HideErrors": true,
- "KeyPrefix": "LINGYUN.Abp.Application",
- "GlobalCacheEntryOptions": {
- "SlidingExpiration": "30:00:00",
- "AbsoluteExpirationRelativeToNow": "60:00:00"
- }
- },
- "ConnectionStrings": {
- "Default": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None"
- },
- "DistributedLock": {
- "IsEnabled": true,
- "Redis": {
- "Configuration": "127.0.0.1,defaultDatabase=14"
- }
- },
- "Elsa": {
- "Features": {
- "DefaultPersistence": {
- "Enabled": true,
- "ConnectionStringIdentifier": "Workflow",
- "EntityFrameworkCore": {
- "MySql": {
- "Enabled": true
- }
- }
- },
- "Console": true,
- "Http": true,
- "Email": true,
- "TemporalQuartz": true,
- "JavaScriptActivities": true,
- "UserTask": true,
- "Conductor": true,
- "Telnyx": true,
- "BlobStoring": true,
- "Emailing": true,
- "Notification": true,
- "Sms": true,
- "IM": true,
- "PublishWebhook": true,
- "Webhooks": {
- "Enabled": true,
- "ConnectionStringIdentifier": "Workflow",
- "EntityFrameworkCore": {
- "MySql": {
- "Enabled": true
- }
- }
- },
- "WorkflowSettings": {
- "Enabled": true,
- "ConnectionStringIdentifier": "Workflow",
- "EntityFrameworkCore": {
- "MySql": {
- "Enabled": true
- }
- }
- }
- },
- "Server": {
- "BaseUrl": "http://127.0.0.1:30000"
- }
- },
- "Quartz": {
- "UsePersistentStore": false,
- "Properties": {
- "quartz.jobStore.dataSource": "tkm",
- "quartz.jobStore.type": "Quartz.Impl.AdoJobStore.JobStoreTX,Quartz",
- "quartz.jobStore.driverDelegateType": "Quartz.Impl.AdoJobStore.MySQLDelegate,Quartz",
- "quartz.dataSource.tkm.connectionString": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456",
- "quartz.dataSource.tkm.connectionStringName": "TaskManagement",
- "quartz.dataSource.tkm.provider": "MySqlConnector",
- "quartz.jobStore.clustered": "true",
- "quartz.serializer.type": "json"
- }
- },
- "Redis": {
- "IsEnabled": true,
- "Configuration": "127.0.0.1,defaultDatabase=15",
- "InstanceName": "LINGYUN.Abp.Application"
- },
- "AuthServer": {
- "UseOpenIddict": true,
- "Authority": "http://127.0.0.1:30001/",
- "ApiName": "lingyun-abp-application",
- "SwaggerClientId": "InternalServiceClient",
- "SwaggerClientSecret": "1q2w3E*"
- },
- "IdentityServer": {
- "Clients": {
- "VueAdmin": {
- "ClientId": "vue-admin-client",
- "RootUrl": "http://127.0.0.1:3100/"
- },
- "InternalService": {
- "ClientId": "InternalServiceClient"
- }
- }
- },
- "OpenIddict": {
- "Applications": {
- "VueAdmin": {
- "ClientId": "vue-admin-client",
- "RootUrl": "http://127.0.0.1:3100/"
- },
- "InternalService": {
- "ClientId": "InternalServiceClient"
- }
- },
- "Lifetime": {
- "AuthorizationCode": "00:05:00",
- "AccessToken": "14:00:00",
- "DeviceCode": "00:10:00",
- "IdentityToken": "00:20:00",
- "RefreshToken": "14:00:00",
- "RefreshTokenReuseLeeway": "00:00:30",
- "UserCode": "00:10:00"
- }
- },
- "Identity": {
- "Password": {
- "RequiredLength": 6,
- "RequiredUniqueChars": 0,
- "RequireNonAlphanumeric": false,
- "RequireLowercase": false,
- "RequireUppercase": false,
- "RequireDigit": false
- },
- "Lockout": {
- "AllowedForNewUsers": false,
- "LockoutDuration": 5,
- "MaxFailedAccessAttempts": 5
- },
- "SignIn": {
- "RequireConfirmedEmail": false,
- "RequireConfirmedPhoneNumber": false
- }
- },
- "FeatureManagement": {
- "IsDynamicStoreEnabled": true
- },
- "SettingManagement": {
- "IsDynamicStoreEnabled": true
- },
- "PermissionManagement": {
- "IsDynamicStoreEnabled": true
- },
- "TextTemplating": {
- "IsDynamicStoreEnabled": true
- },
- "WebhooksManagement": {
- "IsDynamicStoreEnabled": true
- },
- "Logging": {
- "Serilog": {
- "Elasticsearch": {
- "IndexFormat": "abp.dev.logging-{0:yyyy.MM.dd}"
- }
- }
- },
- "AuditLogging": {
- "Elasticsearch": {
- "IndexPrefix": "abp.dev.auditing"
- }
- },
- "Elasticsearch": {
- "NodeUris": "http://127.0.0.1:9200"
- },
- "Serilog": {
- "MinimumLevel": {
- "Default": "Debug",
- "Override": {
- "System": "Warning",
- "Microsoft": "Warning",
- "DotNetCore": "Debug"
- }
- },
- "WriteTo": [
- {
- "Name": "Console",
- "Args": {
- "restrictedToMinimumLevel": "Debug",
- "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
- }
- },
- {
- "Name": "Elasticsearch",
- "Args": {
- "nodeUris": "http://127.0.0.1:9200",
- "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}",
- "autoRegisterTemplate": true,
- "autoRegisterTemplateVersion": "ESv7"
- }
- }
- ]
- }
-}
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.PostgreSql.json b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.PostgreSql.json
deleted file mode 100644
index 6858f5041..000000000
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.PostgreSql.json
+++ /dev/null
@@ -1,228 +0,0 @@
-{
- "App": {
- "ShowPii": true,
- "SelfUrl": "http://127.0.0.1:30001/",
- "CorsOrigins": "http://127.0.0.1:3100,http://127.0.0.1:30001",
- "Urls": {
- "Applications": {
- "MVC": {
- "RootUrl": "http://127.0.0.1:30001/",
- "Urls": {
- "Abp.Account.EmailConfirm": "Account/EmailConfirm",
- "Abp.Account.EmailVerifyLogin": "Account/VerifyCode"
- }
- },
- "STS": {
- "RootUrl": "http://127.0.0.1:30001/"
- },
- "VueVbenAdmin": {
- "RootUrl": "http://127.0.0.1:3100",
- "Urls": {
- "Abp.Account.EmailConfirm": "account/email-confirm"
- }
- }
- }
- }
- },
- "Auditing": {
- "AllEntitiesSelector": true
- },
- "DistributedCache": {
- "HideErrors": true,
- "KeyPrefix": "LINGYUN.Abp.Application",
- "GlobalCacheEntryOptions": {
- "SlidingExpiration": "30:00:00",
- "AbsoluteExpirationRelativeToNow": "60:00:00"
- }
- },
- "ConnectionStrings": {
- "Default": "Host=127.0.0.1;Database=Platform-V70;Username=postgres;Password=123456;SslMode=Prefer"
- },
- "DistributedLock": {
- "IsEnabled": true,
- "Redis": {
- "Configuration": "127.0.0.1,defaultDatabase=14"
- }
- },
- "Elsa": {
- "Features": {
- "DefaultPersistence": {
- "Enabled": true,
- "ConnectionStringIdentifier": "Default",
- "EntityFrameworkCore": {
- "PostgreSql": {
- "Enabled": true
- }
- }
- },
- "Console": true,
- "Http": true,
- "Email": true,
- "TemporalQuartz": true,
- "JavaScriptActivities": true,
- "UserTask": true,
- "Conductor": true,
- "Telnyx": true,
- "BlobStoring": true,
- "Emailing": true,
- "Notification": true,
- "Sms": true,
- "IM": true,
- "PublishWebhook": true,
- "Webhooks": {
- "Enabled": true,
- "ConnectionStringIdentifier": "Default",
- "EntityFrameworkCore": {
- "PostgreSql": {
- "Enabled": true
- }
- }
- },
- "WorkflowSettings": {
- "Enabled": true,
- "ConnectionStringIdentifier": "Default",
- "EntityFrameworkCore": {
- "PostgreSql": {
- "Enabled": true
- }
- }
- }
- },
- "Server": {
- "BaseUrl": "http://127.0.0.1:30000"
- }
- },
- "Quartz": {
- "UsePersistentStore": false,
- "Properties": {
- "quartz.jobStore.dataSource": "tkm",
- "quartz.jobStore.type": "Quartz.Impl.AdoJobStore.JobStoreTX, Quartz",
- "quartz.jobStore.driverDelegateType": "Quartz.Impl.AdoJobStore.PostgreSQLDelegate, Quartz",
- "quartz.dataSource.tkm.connectionString": "Host=127.0.0.1;Database=Platform-V70;Username=postgres;Password=123456;",
- "quartz.dataSource.tkm.provider": "Npgsql",
- "quartz.jobStore.clustered": "true",
- "quartz.serializer.type": "json",
- "quartz.dataSource.tkm.connectionStringName": "TaskManagement"
- }
- },
- "Redis": {
- "IsEnabled": true,
- "Configuration": "127.0.0.1,defaultDatabase=15",
- "InstanceName": "LINGYUN.Abp.Application"
- },
- "AuthServer": {
- "UseOpenIddict": true,
- "Authority": "http://127.0.0.1:30001/",
- "ApiName": "lingyun-abp-application",
- "SwaggerClientId": "InternalServiceClient",
- "SwaggerClientSecret": "1q2w3E*"
- },
- "IdentityServer": {
- "Clients": {
- "VueAdmin": {
- "ClientId": "vue-admin-client",
- "RootUrl": "http://127.0.0.1:3100/"
- },
- "InternalService": {
- "ClientId": "InternalServiceClient"
- }
- }
- },
- "OpenIddict": {
- "Applications": {
- "VueAdmin": {
- "ClientId": "vue-admin-client",
- "RootUrl": "http://127.0.0.1:3100/"
- },
- "InternalService": {
- "ClientId": "InternalServiceClient"
- }
- },
- "Lifetime": {
- "AuthorizationCode": "00:05:00",
- "AccessToken": "14:00:00",
- "DeviceCode": "00:10:00",
- "IdentityToken": "00:20:00",
- "RefreshToken": "14:00:00",
- "RefreshTokenReuseLeeway": "00:00:30",
- "UserCode": "00:10:00"
- }
- },
- "Identity": {
- "Password": {
- "RequiredLength": 6,
- "RequiredUniqueChars": 0,
- "RequireNonAlphanumeric": false,
- "RequireLowercase": false,
- "RequireUppercase": false,
- "RequireDigit": false
- },
- "Lockout": {
- "AllowedForNewUsers": false,
- "LockoutDuration": 5,
- "MaxFailedAccessAttempts": 5
- },
- "SignIn": {
- "RequireConfirmedEmail": false,
- "RequireConfirmedPhoneNumber": false
- }
- },
- "FeatureManagement": {
- "IsDynamicStoreEnabled": true
- },
- "SettingManagement": {
- "IsDynamicStoreEnabled": true
- },
- "PermissionManagement": {
- "IsDynamicStoreEnabled": true
- },
- "TextTemplating": {
- "IsDynamicStoreEnabled": true
- },
- "WebhooksManagement": {
- "IsDynamicStoreEnabled": true
- },
- "Logging": {
- "Serilog": {
- "Elasticsearch": {
- "IndexFormat": "abp.dev.logging-{0:yyyy.MM.dd}"
- }
- }
- },
- "AuditLogging": {
- "Elasticsearch": {
- "IndexPrefix": "abp.dev.auditing"
- }
- },
- "Elasticsearch": {
- "NodeUris": "http://127.0.0.1:9200"
- },
- "Serilog": {
- "MinimumLevel": {
- "Default": "Debug",
- "Override": {
- "System": "Warning",
- "Microsoft": "Warning",
- "DotNetCore": "Debug"
- }
- },
- "WriteTo": [
- {
- "Name": "Console",
- "Args": {
- "restrictedToMinimumLevel": "Debug",
- "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
- }
- },
- {
- "Name": "Elasticsearch",
- "Args": {
- "nodeUris": "http://127.0.0.1:9200",
- "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}",
- "autoRegisterTemplate": true,
- "autoRegisterTemplateVersion": "ESv7"
- }
- }
- ]
- }
-}
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.SqlServer.json b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.SqlServer.json
deleted file mode 100644
index 555dab9fb..000000000
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.SqlServer.json
+++ /dev/null
@@ -1,228 +0,0 @@
-{
- "App": {
- "ShowPii": true,
- "SelfUrl": "http://127.0.0.1:30001/",
- "CorsOrigins": "http://127.0.0.1:3100,http://127.0.0.1:30001",
- "Urls": {
- "Applications": {
- "MVC": {
- "RootUrl": "http://127.0.0.1:30001/",
- "Urls": {
- "Abp.Account.EmailConfirm": "Account/EmailConfirm",
- "Abp.Account.EmailVerifyLogin": "Account/VerifyCode"
- }
- },
- "STS": {
- "RootUrl": "http://127.0.0.1:30001/"
- },
- "VueVbenAdmin": {
- "RootUrl": "http://127.0.0.1:3100",
- "Urls": {
- "Abp.Account.EmailConfirm": "account/email-confirm"
- }
- }
- }
- }
- },
- "Auditing": {
- "AllEntitiesSelector": true
- },
- "DistributedCache": {
- "HideErrors": true,
- "KeyPrefix": "LINGYUN.Abp.Application",
- "GlobalCacheEntryOptions": {
- "SlidingExpiration": "30:00:00",
- "AbsoluteExpirationRelativeToNow": "60:00:00"
- }
- },
- "ConnectionStrings": {
- "Default": "Server=127.0.0.1;Database=Platform-V70;User Id=sa;Password=yourStrong(!)Password;TrustServerCertificate=True"
- },
- "DistributedLock": {
- "IsEnabled": true,
- "Redis": {
- "Configuration": "127.0.0.1,defaultDatabase=14"
- }
- },
- "Elsa": {
- "Features": {
- "DefaultPersistence": {
- "Enabled": true,
- "ConnectionStringIdentifier": "Default",
- "EntityFrameworkCore": {
- "SqlServer": {
- "Enabled": true
- }
- }
- },
- "Console": true,
- "Http": true,
- "Email": true,
- "TemporalQuartz": true,
- "JavaScriptActivities": true,
- "UserTask": true,
- "Conductor": true,
- "Telnyx": true,
- "BlobStoring": true,
- "Emailing": true,
- "Notification": true,
- "Sms": true,
- "IM": true,
- "PublishWebhook": true,
- "Webhooks": {
- "Enabled": true,
- "ConnectionStringIdentifier": "Default",
- "EntityFrameworkCore": {
- "SqlServer": {
- "Enabled": true
- }
- }
- },
- "WorkflowSettings": {
- "Enabled": true,
- "ConnectionStringIdentifier": "Default",
- "EntityFrameworkCore": {
- "SqlServer": {
- "Enabled": true
- }
- }
- }
- },
- "Server": {
- "BaseUrl": "http://127.0.0.1:30000"
- }
- },
- "Quartz": {
- "UsePersistentStore": false,
- "Properties": {
- "quartz.jobStore.dataSource": "tkm",
- "quartz.jobStore.type": "Quartz.Impl.AdoJobStore.JobStoreTX, Quartz",
- "quartz.jobStore.driverDelegateType": "Quartz.Impl.AdoJobStore.SqlServerDelegate, Quartz",
- "quartz.dataSource.tkm.connectionString": "Server=127.0.0.1;Database=Platform-V70;User Id=sa;Password=yourStrong(!)Password;",
- "quartz.dataSource.tkm.provider": "SqlServer",
- "quartz.jobStore.clustered": "true",
- "quartz.serializer.type": "json",
- "quartz.dataSource.tkm.connectionStringName": "TaskManagement"
- }
- },
- "Redis": {
- "IsEnabled": true,
- "Configuration": "127.0.0.1,defaultDatabase=15",
- "InstanceName": "LINGYUN.Abp.Application"
- },
- "AuthServer": {
- "UseOpenIddict": true,
- "Authority": "http://127.0.0.1:30001/",
- "ApiName": "lingyun-abp-application",
- "SwaggerClientId": "InternalServiceClient",
- "SwaggerClientSecret": "1q2w3E*"
- },
- "IdentityServer": {
- "Clients": {
- "VueAdmin": {
- "ClientId": "vue-admin-client",
- "RootUrl": "http://127.0.0.1:3100/"
- },
- "InternalService": {
- "ClientId": "InternalServiceClient"
- }
- }
- },
- "OpenIddict": {
- "Applications": {
- "VueAdmin": {
- "ClientId": "vue-admin-client",
- "RootUrl": "http://127.0.0.1:3100/"
- },
- "InternalService": {
- "ClientId": "InternalServiceClient"
- }
- },
- "Lifetime": {
- "AuthorizationCode": "00:05:00",
- "AccessToken": "14:00:00",
- "DeviceCode": "00:10:00",
- "IdentityToken": "00:20:00",
- "RefreshToken": "14:00:00",
- "RefreshTokenReuseLeeway": "00:00:30",
- "UserCode": "00:10:00"
- }
- },
- "Identity": {
- "Password": {
- "RequiredLength": 6,
- "RequiredUniqueChars": 0,
- "RequireNonAlphanumeric": false,
- "RequireLowercase": false,
- "RequireUppercase": false,
- "RequireDigit": false
- },
- "Lockout": {
- "AllowedForNewUsers": false,
- "LockoutDuration": 5,
- "MaxFailedAccessAttempts": 5
- },
- "SignIn": {
- "RequireConfirmedEmail": false,
- "RequireConfirmedPhoneNumber": false
- }
- },
- "FeatureManagement": {
- "IsDynamicStoreEnabled": true
- },
- "SettingManagement": {
- "IsDynamicStoreEnabled": true
- },
- "PermissionManagement": {
- "IsDynamicStoreEnabled": true
- },
- "TextTemplating": {
- "IsDynamicStoreEnabled": true
- },
- "WebhooksManagement": {
- "IsDynamicStoreEnabled": true
- },
- "Logging": {
- "Serilog": {
- "Elasticsearch": {
- "IndexFormat": "abp.dev.logging-{0:yyyy.MM.dd}"
- }
- }
- },
- "AuditLogging": {
- "Elasticsearch": {
- "IndexPrefix": "abp.dev.auditing"
- }
- },
- "Elasticsearch": {
- "NodeUris": "http://127.0.0.1:9200"
- },
- "Serilog": {
- "MinimumLevel": {
- "Default": "Debug",
- "Override": {
- "System": "Warning",
- "Microsoft": "Warning",
- "DotNetCore": "Debug"
- }
- },
- "WriteTo": [
- {
- "Name": "Console",
- "Args": {
- "restrictedToMinimumLevel": "Debug",
- "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
- }
- },
- {
- "Name": "Elasticsearch",
- "Args": {
- "nodeUris": "http://127.0.0.1:9200",
- "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}",
- "autoRegisterTemplate": true,
- "autoRegisterTemplateVersion": "ESv7"
- }
- }
- ]
- }
-}
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.json b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.json
index 4a3dae71a..90452ba57 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.json
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.DbMigrator/appsettings.json
@@ -3,8 +3,7 @@
"Kind": "Local"
},
"ConnectionStrings": {
- "Default": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None"//MySql
-// "Default": "Host=127.0.0.1;Database=Platform-V70;Username=postgres;Password=123456;SslMode=Prefer"//PostgreSql
+ "Default": "Server=127.0.0.1;Database=ProjectName;User Id=root;Password=123456"
},
"StringEncryption": {
"DefaultPassPhrase": "s46c5q55nxpeS8Ra",
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/README.en.md b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/README.en.md
index e1e97c34f..114aad0be 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/README.en.md
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/README.en.md
@@ -26,7 +26,7 @@ This guide will help you manage MySQL database migrations using the migration sc
2. Select MySQL database context from the menu:
```
- [1] LY.MicroService.Applications.Single.EntityFrameworkCore.MySql
+ [1] PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql
```
3. Enter migration name (optional):
@@ -45,7 +45,7 @@ After creating the migration, the script will ask if you want to generate SQL sc
Generated SQL scripts will be saved in:
```
-aspnet-core/InitSql/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/
+aspnet-core/InitSql/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/
```
### 3. Apply Migration
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/README.md b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/README.md
index 295e1e512..c43698e9c 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/README.md
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/README.md
@@ -26,7 +26,7 @@
2. 在菜单中选择 MySQL 数据库上下文:
```
- [1] LY.MicroService.Applications.Single.EntityFrameworkCore.MySql
+ [1] PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql
```
3. 输入迁移名称(可选):
@@ -45,7 +45,7 @@
生成的 SQL 脚本将保存在:
```
-aspnet-core/InitSql/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/
+aspnet-core/InitSql/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/
```
### 3. 应用迁移
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs
index d34ba6dd0..3a0f90125 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs
@@ -1,4 +1,4 @@
-using LY.MicroService.Applications.Single.EntityFrameworkCore;
+using PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
@@ -14,7 +14,7 @@ public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory()
- .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString), b => b.MigrationsAssembly("LY.MicroService.Applications.Single.EntityFrameworkCore.MySql"));
+ .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString), b => b.MigrationsAssembly("PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore.MySql"));
return new SingleMigrationsDbContext(builder!.Options);
}
@@ -23,7 +23,7 @@ public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory
net8.0
- LY.MicroService.Applications.Single.EntityFrameworkCore
+ PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/README.EN.md b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/README.EN.md
index 67e42e5c3..bbfb6e980 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/README.EN.md
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/README.EN.md
@@ -1,4 +1,4 @@
-# LY.MicroService.Applications.Single.EntityFrameworkCore
+# PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore
Monolithic Application Database Migration Module, providing comprehensive application database migration functionality.
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/README.md b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/README.md
index a96b753ab..bc72c164e 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/README.md
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/README.md
@@ -1,4 +1,4 @@
-# LY.MicroService.Applications.Single.EntityFrameworkCore
+# PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore
单体应用数据迁移模块,提供完整的应用程序数据库迁移功能。
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleDbMigrationEventHandler.cs b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleDbMigrationEventHandler.cs
index 75ae423ed..395cf4d39 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleDbMigrationEventHandler.cs
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleDbMigrationEventHandler.cs
@@ -20,7 +20,7 @@ using Volo.Abp.Uow;
using IdentityRole = Volo.Abp.Identity.IdentityRole;
using IdentityUser = Volo.Abp.Identity.IdentityUser;
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore;
+namespace PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore;
public class SingleDbMigrationEventHandler :
EfCoreDatabaseMigrationEventHandlerBase,
IDistributedEventHandler>
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleDbMigrationService.cs b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleDbMigrationService.cs
index 1247b3499..faa7a1030 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleDbMigrationService.cs
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleDbMigrationService.cs
@@ -14,7 +14,7 @@ using Volo.Abp.EventBus.Distributed;
using Volo.Abp.MultiTenancy;
using Volo.Abp.Uow;
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore;
+namespace PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore;
public class SingleDbMigrationService : EfCoreRuntimeDatabaseMigratorBase, ITransientDependency
{
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleMigrationsDbContext.cs b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleMigrationsDbContext.cs
index 1a1312e6d..1ba308f45 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleMigrationsDbContext.cs
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleMigrationsDbContext.cs
@@ -19,7 +19,7 @@ using Volo.Abp.OpenIddict.EntityFrameworkCore;
using Volo.Abp.PermissionManagement.EntityFrameworkCore;
using Volo.Abp.SettingManagement.EntityFrameworkCore;
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore;
+namespace PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore;
[ConnectionStringName("SingleDbMigrator")]
public class SingleMigrationsDbContext : AbpDbContext
diff --git a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleMigrationsEntityFrameworkCoreModule.cs b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleMigrationsEntityFrameworkCoreModule.cs
index 623f5d40b..60cc95b86 100644
--- a/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleMigrationsEntityFrameworkCoreModule.cs
+++ b/aspnet-core/templates/aio/content/migrations/PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore/SingleMigrationsEntityFrameworkCoreModule.cs
@@ -18,7 +18,7 @@ using Volo.Abp.OpenIddict.EntityFrameworkCore;
using Volo.Abp.PermissionManagement.EntityFrameworkCore;
using Volo.Abp.SettingManagement.EntityFrameworkCore;
-namespace LY.MicroService.Applications.Single.EntityFrameworkCore;
+namespace PackageName.CompanyName.ProjectName.AIO.EntityFrameworkCore;
[DependsOn(
typeof(AbpSaasEntityFrameworkCoreModule),