From 6ae0dc8304c4bb440597285a31a11935a52f7708 Mon Sep 17 00:00:00 2001 From: HaHafeng Date: Sat, 10 Jan 2026 23:09:14 +0800 Subject: [PATCH] chore(rvw): Migrate review_tasks table to rvw_schema Database migration: - Move review_tasks table from public to rvw_schema - Update Prisma schema @@schema directive - Regenerate Prisma Client Verified: - Table location: rvw_schema - Prisma ORM queries: working - Data integrity: 40 records preserved - User relation: working Documentation updated to reflect schema migration complete. --- backend/prisma/schema.prisma | 2 +- docs/03-业务模块/RVW-稿件审查系统/00-模块当前状态与开发指南.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/prisma/schema.prisma b/backend/prisma/schema.prisma index 39eebf26..7ba95bf8 100644 --- a/backend/prisma/schema.prisma +++ b/backend/prisma/schema.prisma @@ -337,7 +337,7 @@ model ReviewTask { @@index([createdAt]) @@index([isArchived]) @@map("review_tasks") - @@schema("public") + @@schema("rvw_schema") } model AslScreeningProject { diff --git a/docs/03-业务模块/RVW-稿件审查系统/00-模块当前状态与开发指南.md b/docs/03-业务模块/RVW-稿件审查系统/00-模块当前状态与开发指南.md index c0157584..c6857c57 100644 --- a/docs/03-业务模块/RVW-稿件审查系统/00-模块当前状态与开发指南.md +++ b/docs/03-业务模块/RVW-稿件审查系统/00-模块当前状态与开发指南.md @@ -315,7 +315,7 @@ Content-Type: multipart/form-data | 问题 | 当前 | 目标 | 优先级 | |------|------|------|--------| -| Schema位置 | public | review_schema | P2 | +| Schema位置 | ✅ rvw_schema | - | ✅ 已完成 | | 任务处理 | ✅ pg-boss | - | ✅ 已完成 | | 报告导出 | ✅ Word (.docx) | PDF优化 | P3 |