Separate shared database implementation from crate exports

This commit is contained in:
2026-11-30 04:35:54 +08:00
parent 81b70f0046
commit 6c51e68817
8 changed files with 398 additions and 391 deletions
+1 -1
View File
@@ -76,7 +76,7 @@
<text x="104" y="732" class="detail">配置由 BEDROCK_DB_CONFIG 指定。</text>
<rect x="84" y="821" width="452" height="75" rx="9" fill="#e0eee0" stroke="#8eaf98"/>
<text x="104" y="847" class="headline">在已有 PostgreSQL 数据库内初始化</text>
<text x="104" y="869" class="detail">postgres 模块提供 SQL,db 在事务里执行。</text>
<text x="104" y="869" class="detail">postgres.rs 提供 SQL,store.rs 在事务里执行。</text>
<text x="104" y="887" class="detail">创建 Bedrock 表并登记 production 部署。</text>
<text x="328" y="787" class="detail">进入 Store::initialize()</text>
<text x="118" y="909" class="result">成功</text>

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB