27 lines
493 B
PHP
Executable File
27 lines
493 B
PHP
Executable File
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Database\Factories\UserFactory;
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Seed the application's database.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
\App\Models\User::factory(10)->create();
|
|
$this->call([
|
|
UserSeeder::class,
|
|
LocalizationSeeder::class,
|
|
CountrySeeder::class,
|
|
RegionSeeder::class,
|
|
]);
|
|
}
|
|
}
|