This commit is contained in:
biss committed 2026-08-29 12:01:01 +08:00
1 parent 2eddb1217e
commit 6b0c4d054d
13 files changed
+209

No files matched your search

+2
View File
@@ -3,3 +3,5 @@
.vs/ .vs/
*.user *.user
appsettings.Local.json appsettings.Local.json
src/ElectionSystem.Cms/App_Data/
src/ElectionSystem.Cms/wwwroot/media/
+4
View File
@@ -1,6 +1,10 @@
<Solution> <Solution>
<Folder Name="/src/"> <Folder Name="/src/">
<Project Path="src/ElectionSystem.Api/ElectionSystem.Api.csproj" /> <Project Path="src/ElectionSystem.Api/ElectionSystem.Api.csproj" />
<Project Path="src/ElectionSystem.Cms/ElectionSystem.Cms.csproj" />
</Folder>
<Folder Name="/src/ElectionSystem.Cms.Modules/">
<Project Path="src/ElectionSystem.Cms.Modules/ElectionSystem.Cms.PublicContent/ElectionSystem.Cms.PublicContent.csproj" />
</Folder> </Folder>
<Folder Name="/tests/"> <Folder Name="/tests/">
<Project Path="tests/ElectionSystem.Api.Tests/ElectionSystem.Api.Tests.csproj" /> <Project Path="tests/ElectionSystem.Api.Tests/ElectionSystem.Api.Tests.csproj" />
+2
View File
@@ -18,6 +18,8 @@ dotnet user-secrets set "ConnectionStrings:ElectionDatabase" "Server=localhost;P
生产环境请以 `ConnectionStrings__ElectionDatabase` 环境变量注入。迁移由运维明确执行,不在应用启动时自动运行。 生产环境请以 `ConnectionStrings__ElectionDatabase` 环境变量注入。迁移由运维明确执行,不在应用启动时自动运行。
CMS 使用独立的 `ElectionSystem.Cms` Orchard Core 主机及数据库;具体初始化和内容模型见 [cms-setup.md](cms-setup.md)。
## 当前数据库对象 ## 当前数据库对象
初始迁移仅创建 `identity_users`、`organization_units` 和 `audit_entries`。审计元数据只记录受影响的字段名,不能用于保存线上匿名选票内容或关联信息。 初始迁移仅创建 `identity_users`、`organization_units` 和 `audit_entries`。审计元数据只记录受影响的字段名,不能用于保存线上匿名选票内容或关联信息。
Loaded 3 of 13 files, more files were not shown because too many files have changed in this diff. Show more