Files
score-backend/deno.json
ethan.chen 2b5b2f1d97 迁移数据库从 SQLite 到 PostgreSQL
- 更新 deno.json 添加 postgres 依赖
- 重构 db/index.ts 使用 PostgreSQL 连接和适配器
- 更新所有路由文件支持异步数据库操作
- 将 SQLite 语法转换为 PostgreSQL 语法
- 添加数据库迁移文档和 schema 文件
2026-01-08 14:26:27 +08:00

13 lines
294 B
JSON

{
"imports": {
"hono": "jsr:@hono/hono@^4.7.11",
"postgres": "npm:postgres@^3.4.3"
},
"tasks": {
"start": "deno run --allow-net --allow-read --allow-write --allow-env --watch main.ts"
},
"compilerOptions": {
"jsx": "precompile",
"jsxImportSource": "hono/jsx"
}
}