Created
April 28, 2019 08:11
-
-
Save earth774/93b8897175f99efb85a14be2f6f74aaf to your computer and use it in GitHub Desktop.
Create fake data user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Database\Seeder; | |
class DatabaseSeeder extends Seeder | |
{ | |
/** | |
* Run the database seeds. | |
* | |
* @return void | |
*/ | |
public function run() | |
{ | |
// $this->call('UsersTableSeeder'); | |
factory(App\Users::class, 10)->create(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment