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.

Fichiers: 22

JSON

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

Fichiers: 22

Related decisions

Related Decisions

FAQ

FAQ

Quelle est la recommandation de format par defaut pour ce cas d'usage ?

SQL est le format recommande par defaut ici.

Comment les equipes doivent-elles valider cette recommandation ?

Utilisez des fichiers d'echantillon et des endpoints de manifeste pour tester la compatibilite et le comportement avant le deploiement.