chore(deps): 升级 Drizzle ORM 到 1.0 beta 并迁移至 RQBv2

- drizzle-orm/drizzle-kit 从 0.45.1/0.31.9 升级到 1.0.0-beta.15
- 移除独立的 drizzle-zod 包,改用 drizzle-orm/zod 内置导入
- DB driver 从 bun-sql 切换到 postgres-js
- 新增 defineRelations 入口 (RQBv2)
- 查询语法迁移到 RQBv2 对象风格 orderBy
This commit is contained in:
2026-03-05 10:17:10 +08:00
parent 61e7a1b621
commit 73614204f7
7 changed files with 199 additions and 330 deletions

View File

@@ -35,7 +35,6 @@
"@tanstack/react-router-ssr-query": "catalog:",
"@tanstack/react-start": "catalog:",
"drizzle-orm": "catalog:",
"drizzle-zod": "catalog:",
"postgres": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",