applicant-site/database/seeders/DatabaseSeeder.php

50 lines
1.2 KiB
PHP
Raw Permalink 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-04-24 15:27:07 +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-04-24 15:27:07 +03:00
// $this->call([
// EducationalInstitutionSeeder::class,
// FacultySeeder::class,
// DepartmentSeeder::class,
// EducationLevelSeeder::class,
// EducationFormSeeder::class,
// ExaminationTypeSeeder::class,
// SubjectSeeder::class,
// SubjectTypeSeeder::class,
// DirectionSeeder::class,
// EntranceExaminationSeeder::class,
// DirectionProfileSeeder::class,
// ]);
2024-04-24 15:27:07 +03:00
// $this->call([
// AdmissionSeeder::class,
// DocumentSeeder::class,
2024-06-04 14:44:35 +03:00
// ]);
// $this->call([
// FeedbackStatusSeeder::class,
// FeedbackSeeder::class,
2024-04-24 15:27:07 +03:00
// ]);
2024-04-23 14:23:21 +03:00
$this->call([
2024-06-04 14:44:35 +03:00
NewsSeeder::class,
2024-04-23 14:23:21 +03:00
]);
2024-01-10 12:57:24 +03:00
}
}