- 将表创建和索引创建逻辑从仓储初始化方法移到迁移系统 - 移除 outfit_image_repository.rs 中的 init_tables 表创建逻辑 - 确保所有数据库结构变更通过迁移系统统一管理 - 修复 comfyui_prompt_id 索引创建时机问题 这样可以避免在旧数据库上创建索引时找不到字段的错误。 |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| .gitignore | ||
| Cargo.toml | ||
| build.rs | ||
| tauri.conf.json | ||
- 将表创建和索引创建逻辑从仓储初始化方法移到迁移系统 - 移除 outfit_image_repository.rs 中的 init_tables 表创建逻辑 - 确保所有数据库结构变更通过迁移系统统一管理 - 修复 comfyui_prompt_id 索引创建时机问题 这样可以避免在旧数据库上创建索引时找不到字段的错误。 |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| .gitignore | ||
| Cargo.toml | ||
| build.rs | ||
| tauri.conf.json | ||