fix: restore match3d indexed visibility reads

This commit is contained in:
kdletters
2026-05-28 04:27:51 +08:00
parent a0134ce966
commit 82f24ded1b
5 changed files with 32 additions and 31 deletions

View File

@@ -472,10 +472,12 @@ npm run check:server-rs-ddd
- Rust 结构体:`Match3DRuntimeRunRow`
- 源码:`server-rs/crates/spacetime-module/src/match3d/tables.rs`
### `match3d_work_profile`
### `match_3_d_work_profile`
- Rust 结构体:`Match3DWorkProfileRow`
- Rust accessor`match_3_d_work_profile`
- 源码:`server-rs/crates/spacetime-module/src/match3d/tables.rs`
- 兼容说明dev 现有 SpacetimeDB 元数据中的真实表名 / 索引名为 `match_3_d_work_profile``match_3_d_work_profile_*_idx_btree`。module 内部 accessor 必须与该 canonical name 对齐,避免 Rust SDK 在 `index_id_from_name` 初始化二级索引时查找 `match3d_work_profile_*` 并触发 `No such index` panic。`migration.rs` 仍兼容旧迁移包中的 `match3d_work_profile` 表名补默认字段。
### SpacetimeDB view`match_3_d_gallery_view`