2015-07-08 03:34:58 -04:00
|
|
|
<?php
|
|
|
|
|
2020-12-09 16:00:01 -05:00
|
|
|
namespace Database\Seeders;
|
|
|
|
|
2022-10-11 18:14:02 -04:00
|
|
|
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
2015-07-08 03:34:58 -04:00
|
|
|
use Illuminate\Database\Seeder;
|
2016-04-05 14:27:59 -04:00
|
|
|
use Illuminate\Database\Eloquent\Model;
|
2015-07-08 03:34:58 -04:00
|
|
|
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
2018-11-02 18:12:07 -04:00
|
|
|
* Seed the application's database.
|
2015-07-08 03:34:58 -04:00
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
2020-12-09 16:00:01 -05:00
|
|
|
// \App\Models\User::factory(10)->create();
|
2022-05-23 21:01:33 -04:00
|
|
|
|
|
|
|
// \App\Models\User::factory()->create([
|
|
|
|
// 'name' => 'Test User',
|
|
|
|
// 'email' => 'test@example.com',
|
|
|
|
// ]);
|
2015-07-08 03:34:58 -04:00
|
|
|
}
|
|
|
|
}
|