Migration Center

Seed the library without turning it into legal theater.

Use the v7 NDJSON export and schema files to move the governed library into Neon/Postgres while preserving risk levels, review lanes, source paths, and draft badges.

Neon seed export

database/neon/v7-template-records.ndjson contains 10,200 normalized records with publish lanes.

Chunked seed export

Run npm run export:neon-seed to generate chunked NDJSON files under database/neon/chunks/.

Production cutover

Use docs/PRODUCTION_CUTOVER.md and keep account gateway, database, storage, payments, and email as explicit activation tasks.

Migration checklist

No public compliance claims should change when the data moves from local JSON to Neon.