Artisan.page

db:seed

Seed the database with records

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

Options

classOptional

The class name of the root seeder

databaseOptional

The database connection to seed

forceOptional

Force the operation to run when in production

Arguments

classOptional

The class name of the root seeder