🗃️Seed Data
Also known as Database Seeding, Seeding, Seed File
Data put into an empty database at the start. The app or tests use it.
Think of it like
Think of it like putting toys in a new playroom. Then kids have something to play with on day one.
Example
Lucy joins Jack's team. She runs the seed script and gets 50 fake customers and 200 fake orders to test with.
Why it matters
Definition
Common mistake
Key takeaways
- 1A starting point. Data in an empty database.
- 2After migrations. Tables first, then rows.
- 3Never real people. Fake names and emails only.