1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-18 00:13:12 +01:00
my-idlers/database/seeders/DatabaseSeeder.php
cp6 a314ac99ef Initial v2 commit
Initial v2 commit

Laravel project
2022-02-18 15:48:32 +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);
}
}