Skip to content

chore: format prisma schemas#4224

Merged
carderne merged 1 commit into
mainfrom
chore/format-prisma-schemas
Jul 10, 2026
Merged

chore: format prisma schemas#4224
carderne merged 1 commit into
mainfrom
chore/format-prisma-schemas

Conversation

@carderne

@carderne carderne commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Creating a Prisma migration now formats its schema first, keeping migration-related schema edits consistently formatted without adding work to the repository-wide format command. Run pnpm run format:prisma to format either schema on demand.

@changeset-bot

changeset-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d321e4c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Prisma schema declarations receive whitespace and alignment-only changes. The database and run-ops-database migration scripts now run prisma format before prisma migrate dev --create-only. A root script sequentially invokes Prisma formatting in both packages. No schema types, defaults, relations, constraints, or dependency versions change.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is too brief and misses the required template sections like issue link, checklist, testing, changelog, and screenshots. Expand the PR body to match the template, including Closes #issue, checklist items, testing steps, changelog, and screenshots or N/A.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title is concise and accurately reflects the main change: Prisma schema formatting.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/format-prisma-schemas

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@carderne carderne force-pushed the chore/format-prisma-schemas branch from 454876e to 9fae08b Compare July 10, 2026 11:46
coderabbitai[bot]

This comment was marked as resolved.

@pkg-pr-new

pkg-pr-new Bot commented Jul 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

@trigger.dev/build

npm i https://pkg.pr.new/@trigger.dev/build@d321e4c

trigger.dev

npm i https://pkg.pr.new/trigger.dev@d321e4c

@trigger.dev/core

npm i https://pkg.pr.new/@trigger.dev/core@d321e4c

@trigger.dev/python

npm i https://pkg.pr.new/@trigger.dev/python@d321e4c

@trigger.dev/react-hooks

npm i https://pkg.pr.new/@trigger.dev/react-hooks@d321e4c

@trigger.dev/redis-worker

npm i https://pkg.pr.new/@trigger.dev/redis-worker@d321e4c

@trigger.dev/rsc

npm i https://pkg.pr.new/@trigger.dev/rsc@d321e4c

@trigger.dev/schema-to-json

npm i https://pkg.pr.new/@trigger.dev/schema-to-json@d321e4c

@trigger.dev/sdk

npm i https://pkg.pr.new/@trigger.dev/sdk@d321e4c

commit: d321e4c

@carderne carderne force-pushed the chore/format-prisma-schemas branch from 9fae08b to 4cb39fd Compare July 10, 2026 11:55
@carderne carderne force-pushed the chore/format-prisma-schemas branch from 4cb39fd to d321e4c Compare July 10, 2026 11:58
@carderne carderne marked this pull request as ready for review July 10, 2026 12:02

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@carderne carderne enabled auto-merge (squash) July 10, 2026 12:47
@carderne carderne merged commit 7faa525 into main Jul 10, 2026
57 checks passed
@carderne carderne deleted the chore/format-prisma-schemas branch July 10, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants