1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 23:42:32 +01:00
my-idlers/database/seeders/DatabaseSeeder.php
2022-03-06 02:28:04 +11:00

28 lines
684 B
PHP

<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
\App\Models\User::factory(1)->create();
//\App\Models\Server::factory(10)->create();
//\App\Models\Domains::factory(4)->create();
$this->call(SettingsSeeder::class);
$this->call(ProvidersSeeder::class);
$this->call(LocationsSeeder::class);
$this->call(OsSeeder::class);
$this->call(LabelsSeeder::class);
$this->call(DomainsSeeder::class);
$this->call(ServersSeeder::class);
}
}