REA Drizzle config notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Drizzle drizzle.config.ts (or .js / .json) and schema modules pin TypeScript ORM identity. In REA 6.7.x, treat selected schema / dialect / out pins as Evidence beside archive/package routes — complementing cousins without inventing APIs.

Mental model

  1. Authorize the Drizzle tree (+ SQL/migration artifacts you hold).
  2. Quote selected dialect / schema path / out / driver pins you actually see (never paste dbCredentials secrets).
  3. Cousins → prisma-schema · flyway-sql · sqlite-notes.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_drizzle_config API REA never called.

Minimal path

# authorized drizzle.config.ts (+ schema + artifact you hold)
# quote selected dialect / schema / out pins into case notes
# cousins → peer Prisma / Flyway / SQLite lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_drizzle_config .

Compare

ArtifactHonest posture
drizzle.config.*TypeScript ORM identity facts
Prisma peerrea-prisma-schema
Flyway peerrea-flyway-sql
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote dialect, schema glob, and out migration folder — enough for most Evidence binders.
  • dbCredentials often pull from env — never expand or paste resolved secrets.
  • Schema TS modules (pgTable, sqliteTable, etc.) are related Evidence; label them separately from the Kit config.
  • Generated SQL under out is a build/migration output — stay on documented package/archive routes.
  • Keep Drizzle distinct from Prisma schema and Flyway versioned SQL in case notes.

Scope we will not cover

  • No inventing inspect_drizzle_config / automatic migrate against foreign databases.
  • No credential theft from dbCredentials or connection URLs.
  • No pirate redistribution of proprietary Drizzle schemas.
  • No crack framing via Drizzle pins.
  • No bypass cookbooks that weaken DB auth via schema edits on foreign systems.

Honest limits

RepoRead documents config literacy — how authorized Drizzle trees relate to Evidence — not a full Drizzle Kit course. Prefer upstream Drizzle docs for Kit commands and dialects. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-prisma-schema / rea-flyway-sql?

rea-prisma-schema covers Prisma schema.prisma; rea-flyway-sql covers Flyway migrations. This page zooms on Drizzle Kit/config identity — it does not overwrite those pages.

Is there inspect_drizzle_config in 6.7.0?

Not assumed. Quote schema / dialect / out / dbCredentials pins you actually open, then use documented package/archive lanes. Do not invent inspect_drizzle_config.

Does REA push Drizzle migrations or steal DB credentials?

No. Local trees only. Redact connection strings; do not treat REA as drizzle-kit. No credential theft.

How should I label Evidence vs other ORM/migration configs?

Label Evidence by the file present. Keep Drizzle separate from rea-prisma-schema, rea-flyway-sql, and rea-sqlite-notes.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources