mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 00:41:05 +03:30
little change - env example and seeder
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user