db:seed

Seed the database with records

Options

  • class - The class name of the root seeder Optional
  • database - The database connection to seed Optional
  • force - Force the operation to run when in production Optional
php artisan db:seed [--class [CLASS]] [--database [DATABASE]] [--force]