Artisan.page

db:seed

Seed the database with records

Terminal
php artisan db:seed [--class [CLASS]] [--database [DATABASE]] [--force]

Options

classOptional

The class name of the root seeder

databaseOptional

The database connection to seed

forceOptional

Force the operation to run when in production