Move SQL connection routing into sql_storage

This commit is contained in:
2026-11-30 03:50:39 +08:00
parent bb15a7043c
commit 36184b07a0
10 changed files with 29 additions and 42 deletions
+1 -1
View File
@@ -72,7 +72,7 @@
<rect x="84" y="663" width="452" height="77" rx="9" fill="#e0eee0" stroke="#8eaf98"/>
<path d="M93 675v53" stroke="#8bac94" stroke-width="2" stroke-linecap="round"/>
<text x="104" y="692" class="headline">Rust Bedrock 读取配置</text>
<text x="104" y="713" class="detail">通过 db_connection 选择 postgres。</text>
<text x="104" y="713" class="detail">通过 sql_storage::connect 选择 postgres。</text>
<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>

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB