mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-18 00:13:12 +01:00
a314ac99ef
Initial v2 commit Laravel project
28 lines
684 B
PHP
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);
|
|
}
|
|
}
|