applicant-site/database/seeders/DatabaseSeeder.php

46 lines
1.1 KiB
PHP
Raw Normal View History

2024-01-10 12:57:24 +03:00
<?php
namespace Database\Seeders;
2024-02-16 10:43:55 +03:00
use App\Models\ExaminationType;
2024-01-11 15:10:01 +03:00
use App\Models\User;
2024-01-10 12:57:24 +03:00
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
public function run(): void
{
2024-02-17 13:08:01 +03:00
User::factory()->create([
'name' => config('app.admin_name'),
'email' => config('app.admin_email'),
'password' => 123456
]);
2024-02-12 11:25:00 +03:00
2024-02-17 13:08:01 +03:00
// User::factory(10)->create();
2024-02-12 11:25:00 +03:00
2024-01-19 19:15:45 +03:00
$this->call([
2024-02-08 16:20:05 +03:00
EducationalInstitutionSeeder::class,
FacultySeeder::class,
DepartmentSeeder::class,
2024-02-14 15:00:28 +03:00
EducationLevelSeeder::class,
2024-02-15 09:58:01 +03:00
EducationFormSeeder::class,
2024-02-16 10:43:55 +03:00
ExaminationTypeSeeder::class,
2024-02-17 11:30:32 +03:00
SubjectSeeder::class,
2024-02-17 12:31:22 +03:00
SubjectTypeSeeder::class,
2024-02-12 11:25:00 +03:00
DirectionSeeder::class,
2024-02-19 10:51:20 +03:00
EntranceExaminationSeeder::class,
2024-02-26 10:58:02 +03:00
DirectionProfileSeeder::class,
2024-01-19 19:15:45 +03:00
]);
$this->call([
AdmissionSeeder::class,
DocumentSeeder::class,
]);
2024-04-23 14:23:21 +03:00
$this->call([
FeedbackStatusSeeder::class,
FeedbackSeeder::class,
]);
2024-01-10 12:57:24 +03:00
}
}