Run Seeder
Structure#
To see the available options, run the following command:
Command with all options:
Options:
-e
- Database engine. Default is mysql.-n
- Number of records to seed-nd
- Number of records to seed for dependent tables-sd
- Skip dependent seeders-sde
- Skip dependent seeders if data exists
Don’t use -sd
and -sde
together.
Run all seeders#
Run specific seeder#
Run specific seeder with n records#