题库管理

该页面用于检查题库源文件和 D1 状态,并支持把项目内的 `data/question_bank.json` 一键导入到 Cloudflare D1。

命令行初始化流程

npm install
npm run db:migrate:local
npm run db:seed:local

# 远程 D1
npm run db:migrate:remote
npm run db:seed:remote