REA Flyway SQL notes (unofficial)
Flyway versioned SQL migrations and flyway.conf / Spring Flyway properties pin schema-migration identity. In REA 6.7.x, treat selected locations / V__ / R__ pins as Evidence beside archive/package routes — complementing cousins without inventing APIs.
Mental model
- Authorize the Flyway tree (+ SQL artifacts you hold).
- Quote selected locations / version prefixes / placeholders you actually see (never paste JDBC secrets).
- Cousins → prisma-schema · drizzle-config · sqlite-notes.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_flyway_sqlAPI REA never called.
Minimal path
# authorized db/migration/V__*.sql / flyway.conf (+ artifact you hold)
# quote selected locations / version filenames / placeholders into case notes
# cousins → peer Prisma / Drizzle / SQLite lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_flyway_sql .
Compare
| Artifact | Honest posture |
|---|---|
| Flyway SQL / flyway.conf | Schema-migration identity facts |
| Prisma peer | rea-prisma-schema |
| Drizzle peer | rea-drizzle-config |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
flyway.locations, the highestV__version you saw, and whether repeatableR__scripts exist. - Prefer filename + checksum notes over pasting entire DDL into public binders.
- Redact JDBC URLs, user/password, and placeholder values that embed secrets.
- Compiled migration jars or SQL archives are build outputs — stay on documented package/archive routes.
- Keep Flyway versioned SQL distinct from Prisma/Drizzle ORM schemas even when they target the same database.
Scope we will not cover
- No inventing
inspect_flyway_sql/ automatic migrate against foreign databases. - No credential theft from JDBC or placeholder secrets.
- No pirate redistribution of proprietary migration SQL.
- No crack framing via Flyway pins.
- No bypass cookbooks that skip checksum validation to attack foreign schemas.
Honest limits
RepoRead documents config literacy — how authorized Flyway trees relate to Evidence — not a full Flyway Teams course. Prefer upstream Flyway docs for callbacks and repair. 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-drizzle-config?
rea-prisma-schema covers Prisma ORM schemas; rea-drizzle-config covers Drizzle Kit. This page zooms on Flyway versioned SQL identity — it does not overwrite those pages.
Is there inspect_flyway_sql in 6.7.0?
Not assumed. Quote locations / V__ / R__ / flyway.conf pins you actually open, then use documented package/archive lanes. Do not invent inspect_flyway_sql.
Does REA run Flyway migrate or steal JDBC credentials?
No. Local trees only. Redact JDBC URLs and passwords; do not treat REA as Flyway CLI. No credential theft.
How should I label Evidence vs other ORM/migration configs?
Label Evidence by the file present. Keep Flyway separate from rea-prisma-schema, rea-drizzle-config, and rea-sqlite-notes.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).