SeedForge — realistic seed data from your Prisma schema
Stop hand-writing fixtures. SeedForge reads your schema.prisma and generates
realistic, type-correct test data — exported to JSON, SQL, or CSV —
without ever leaving VS Code.
Point it at a model, pick a row count, choose a format. Done.
0.2.1: fixed @unique fields being able to collide (random values
could silently repeat) — thanks to a reader on r/SQL for catching it.
Covered by a permanent regression test now.
See it in action
Give it a User model and it generates rows that actually look real — emails
that parse, names that fit, enums that vary, optionals that are sometimes null:
[
{
"id": 1,
"email": "Valentine.Miller15@hotmail.com",
"firstName": "Sammie",
"lastName": "Quigley",
"age": null,
"role": "EDITOR",
"isActive": true
},
{
"id": 2,
"email": "Ellis.Paucek@yahoo.com",
"firstName": "Alexzander",
"lastName": "Gerlach",
"age": 40,
"role": "ADMIN",
"isActive": true
}
]
And with Pro, related tables come out already wired together — every
child's foreign key points at a parent that really exists:
Generated 5 User rows, ids: [1, 2, 3, 4, 5]
Generated 5 Post rows:
Post authorId=2 -> references User 2 ✓
Post authorId=5 -> references User 5 ✓
Post authorId=3 -> references User 3 ✓
...
Every Post.authorId references a real User.id ✓
No more dangling foreign keys, no more JOINs against data that can't exist.
Features
Free (this edition)
- One-click generation from any
schema.prisma in your workspace.
- Smart, realistic values. Field names are matched to the right faker
generator —
email → an email, price → a price, firstName → a name,
city / phone / avatar / slug and many more.
- Correct scalar types for
String, Int, BigInt, Float, Decimal,
Boolean, DateTime, Json, Bytes, arrays, and optional fields.
- Enums done right. Enum fields get a random member each row, so your data
actually varies instead of collapsing to one value.
- Three export formats: JSON, SQL
INSERT statements, or CSV — written to
seedforge-output/<Model>.<ext> in your workspace.
- Zero config, zero telemetry. No account, no sign-in, no network calls.
Pro — one-time purchase, $18
No account. No cloud. No subscription. Pro unlocks a license key you paste
into a setting — verified entirely offline against a signature baked into the
extension. Nothing phones home, nothing breaks if a server goes down, nothing
recurs every month. Pay once, use forever.
👉 Get SeedForge Pro: https://dulcet-blini-3cad02.netlify.app
What Pro adds:
- Related tables with valid foreign keys. When the model you pick has
relation fields (e.g.
Post.author -> User), Pro also generates the
directly-referenced parent tables and wires the child's shadow FK column
(e.g. authorId) to a real generated parent id — no more dangling foreign
keys. (Current depth: direct relations of the chosen model; deeper
transitive graphs are a future iteration.)
- Bulk volumes — generate well beyond the free 100-row limit.
- Direct insert into Postgres / MySQL — push generated rows straight into
your database in a transaction, instead of exporting to a file first.
(Postgres is verified end-to-end; MySQL support is built on the same
parameterized, transactional path.)
- Unlocked with a one-time, offline-verified license key (Ed25519 signature,
no account, no server) entered in the
seedforge.licenseKey setting.
Planned next (not implemented yet):
- AI-realistic values by column context, using your own API key (BYOK).
The free edition remains fully functional on its own; relation fields are
skipped with an explicit "available in Pro" message instead of silently
disappearing.
Usage
- Open a folder that contains a
schema.prisma file.
- Open the Command Palette (
Cmd/Ctrl+Shift+P) and run
SeedForge: Generate Seed Data.
- Pick a model (one table per run in the free edition).
- Enter how many rows you want.
- Choose the output format — JSON, SQL INSERT, or CSV.
- The file is written to
seedforge-output/ and SeedForge offers to open it.
Relation fields are skipped in the free edition; SeedForge tells you when a
model has them and that foreign-key-consistent generation is a Pro feature.
Supported schemas
- Prisma (
schema.prisma) — the supported schema source today.
Scalar types recognised: String, Int, BigInt, Float, Decimal,
Boolean, DateTime, Json, Bytes, plus enums. Attributes understood:
@id, @unique, @default(...), @relation(...), and the ? (optional) and
[] (array) modifiers.
Other schema sources (Drizzle, SQL dumps, Django models) are on the roadmap
but are not in this edition.
Requirements
- Visual Studio Code 1.85.0 or newer.
- A workspace containing at least one
schema.prisma file.
- No database connection, no runtime dependencies, nothing to install.
Privacy
SeedForge runs entirely on your machine. It reads the schema file you point
it at and writes output into your workspace — that's it.
- No telemetry, no analytics, no account or login.
- No network requests. Your schema and generated data never leave your computer.
Questions, bug reports, or feedback: seedforge.pro@gmail.com
Found SeedForge useful? A rating on the Marketplace genuinely helps a small
independent project get discovered.
License
SeedForge Free Edition is proprietary, free-to-use software. You may use it for
personal and commercial development; redistribution is not permitted. See the
bundled LICENSE file for the full terms. Pro features will require a separate
one-time license key.