Skip to main content
Run any Skill in Manus
with one click

drizzle-relations

Stars2
Forks0
UpdatedMay 8, 2026 at 07:42

Define Drizzle ORM relations correctly so that db.query.* with `with` works without errors. Use this skill whenever the user gets a "referencedTable" error, asks how to use `with` in a Drizzle query, needs to add a relation between tables, or creates a new schema file. This is a common gotcha — always apply this skill when relations are involved.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly