Skip to content

Instantly share code, notes, and snippets.

@harryWonder
Created October 22, 2020 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harryWonder/b5b54b4f95950fe2eee6614c5c606a7b to your computer and use it in GitHub Desktop.
Save harryWonder/b5b54b4f95950fe2eee6614c5c606a7b to your computer and use it in GitHub Desktop.
This file creates data for the users table in the database.
<?php
use Illuminate\Database\Seeder;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(App\User::class, 10)->create();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment