little change - env example and seeder

This commit is contained in:
ehsan
2025-02-20 19:05:24 +03:30
parent da9f6dbee4
commit 869e3e0c59
3 changed files with 3 additions and 3 deletions
+32
View File
@@ -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();
}
}