mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 23:51:06 +03:30
33 lines
1017 B
PHP
33 lines
1017 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class FakerSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Seed the application's database.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run(): void
|
|
{
|
|
\App\Models\MedicalCenter::factory(10)->create();
|
|
\App\Models\User::factory(10)->create();
|
|
\App\Models\TestType::factory(10)->create();
|
|
\App\Models\TestResult::factory(10)->create();
|
|
\App\Models\Input::factory(10)->create();
|
|
\App\Models\Option::factory(10)->create();
|
|
\App\Models\InputValue::factory(10)->create();
|
|
\App\Models\Gallery::factory(10)->create();
|
|
\App\Models\Uploadable::factory(10)->create();
|
|
\App\Models\Package::factory(10)->create();
|
|
\App\Models\Item::factory(10)->create();
|
|
\App\Models\Label::factory(10)->create();
|
|
\App\Models\Cycle::factory(10)->create();
|
|
\App\Models\Message::factory(10)->create();
|
|
\App\Models\Transfer::factory(10)->create();
|
|
}
|
|
}
|