Conversation
- Remove prisma-erd-generator (Puppeteer/mermaid-cli dependency) - Remove @mermaid-js/mermaid-cli (only used by prisma-erd-generator) - Remove @popperjs/core (no direct import; installed transitively via flowbite) - Add prisma-markdown@1.0.9 (single dep: @prisma/generator-helper, Prisma v5 compatible) - ERD.md output format changes from emoji-annotated Mermaid to standard Mermaid + Markdown Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…risma-erd-generator Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughPrismaのエンティティ関連図(ERD)生成ツールを Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@prisma/ERD.md`:
- Around line 1-7: Fix Markdown lint warnings by adding blank lines around the
affected headings and fenced code block and ensuring the file ends with a
newline: insert a blank line before and after the "# AtCoder NoviSteps ERD"
heading (MD022), ensure there's an empty line both immediately before and after
the "```mermaid" fenced code block (MD031), and add a trailing newline at EOF so
the file ends with a newline character (MD047); update the ERD markdown
accordingly.
- Around line 301-329: The ERD is missing the CHECK constraint notes that were
manually added in migration.sql for the tables votegrade, votedgradecounter, and
votedgradestatistics; update prisma/ERD.md by appending a constraints summary
section (at the end of the file) listing each CHECK added in migration.sql
(e.g., votegrade: CHECK (grade != 'PENDING'), votedgradecounter: CHECK (grade !=
'PENDING'), votedgradecounter: CHECK (count >= 0), votedgradestatistics: CHECK
(grade != 'PENDING')), and optionally add a small script or npm task that
automatically appends or validates these constraint comments after ERD
generation so future manual migrations are recorded consistently.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 9dcdbfe9-0bfb-4c7c-a830-e9d673e869f3
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml,!pnpm-lock.yaml
📒 Files selected for processing (5)
.claude/rules/prisma-db.mddocs/dev-notes/2026-04-16/migrate-erd-generator/plan.mdpackage.jsonprisma/ERD.mdprisma/schema.prisma
close #3421
Summary by CodeRabbit
リリースノート
Documentation
Chores