BACK TO TEMPLATES
promptany

Realistic Database Seed Data Generator Prompt

Prompt template for generating realistic SQL or ORM seed data scripts with foreign key integrity.

When to use this

Generate synthetic seed data for development and integration testing.

The template

Generate a database seed script in `[SQL / Prisma / FactoryBoy]` matching the schema below.

Requirements:
1. Generate realistic data records using deterministic random generators.
2. Respect foreign key constraints and primary key uniqueness.
3. Include edge case records (null optional fields, max length strings, zero values).

Target Schema:
```sql
[PASTE SQL SCHEMA OR ORM MODELS HERE]
```

How to use

Paste your database DDL or ORM model definitions.

Last verified 2026-07-26