svoydom/database/seeders/DatabaseSeeder.php
2023-05-17 09:57:20 +03:00

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,
]);
}
}