- Introduced BlueprintModal in ProjectCard for project blueprint visualization. - Added state management for displaying the BlueprintModal. - Implemented Blueprint-related interfaces and functions in commands.ts for handling blueprint data.
24 lines
492 B
Markdown
24 lines
492 B
Markdown
---
|
||
id: sqlite-db
|
||
name: SQLite 数据层
|
||
status: done
|
||
progress: 100
|
||
---
|
||
|
||
## 概述
|
||
使用 rusqlite + r2d2 连接池管理本地 SQLite 数据库,存储项目、空间、配置、工具等所有持久化数据。
|
||
|
||
## 任务卡
|
||
|
||
### ✅ 连接池初始化
|
||
- status: done
|
||
- files: src-tauri/src/db.rs
|
||
|
||
应用启动时初始化数据库,创建表结构,r2d2 连接池管理。
|
||
|
||
### ✅ 数据库迁移
|
||
- status: done
|
||
- files: src-tauri/src/db.rs
|
||
|
||
表结构变更时的自动迁移逻辑。
|