实现基于 better-sqlite3 的数据库层: - 数据库连接管理(进程级单例模式) - 数据库迁移系统 - 基础表结构初始化 - 添加 better-sqlite3 使用最佳实践文档 Co-Authored-By: Claude <noreply@anthropic.com>