Seed
Teo's model definitons are readable. Teo's data seeding is also readable and
visible.
Declare seeding records
Use the dataset
syntax to create seeding records in schemas. Given a schema
like this:
The seeding records would be like this:
Seed instructions
Depending on the requirements, there are three kind of seeding instructions.
Seed
Use the seed
command to seed data into the database. This skips existing
records.
Reseeding
Use the seed --reseed
command to seed data into the database. If existing
records are found, replace with the record values.
Unseeding
To remove the seeding records, use the seed --unseed
command.