Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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