SchemaSeed Guides

Test data generator

Test data fails when orders.user_id points at a user who was never inserted. SchemaSeed generates the parent table first and only uses those ids in the child table. The SQL file is in the same order, so a foreign key constraint can succeed.

What a QA seed usually needs

JSON and CSV export the table you are looking at. SQL export writes every generated table into one file named schemaseed.sql.

Build a test seed