Use-case recommendation

Best Format for Database Seed Rehearsal

SQL is the default for database seed rehearsal because it preserves ordered execution and rollback semantics.

Recommendation

Recommendation

SQL

SQL lets you test the same DDL, seed, and transactional behavior that production-like setup jobs actually rely on.

application/sql

CSV

Use CSV when the system under test only supports loader-based tabular imports.

Files: 22

JSON

Use JSON when the workload is closer to API-shaped data than relational replay.

Files: 22

Related decisions

Related Decisions

FAQ

FAQ

What is the default format recommendation for this use case?

SQL is the recommended default format here.

How should teams validate this recommendation?

Use sample files and manifest endpoints to test compatibility and behavior before rollout.