3 Commits

Author SHA1 Message Date
ddshi
e44183e3e0 chore: 提交剩余的 server 更改
- .env: 数据库路径配置
- scripts/add-reminder-times.cjs: 批量更新提醒时间脚本

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 11:11:14 +08:00
ddshi
2c258e4a0c fix: 子模块配置调整
- 移除 Prisma 冗余配置
- 优化 tsconfig.json 支持 ESM
- 调整路由和 API 逻辑
2026-02-02 15:27:06 +08:00
ddshi
fbff8cc230 feat: 添加SQLite本地数据库支持
- 移除Prisma中不支持SQLite的类型(Json、枚举)
- 使用String类型替代枚举值
- 更新Prisma schema适配SQLite
- 添加数据库初始化脚本scripts/init-db.js
- 更新数据库路径配置
- 添加sql.js依赖
- 删除旧的prisma.ts使用新的db.ts

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-29 16:33:55 +08:00