-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathDatabaseSeeder.php
More file actions
executable file
·41 lines (31 loc) · 1.02 KB
/
DatabaseSeeder.php
File metadata and controls
executable file
·41 lines (31 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeders.
*/
public function run(): void
{
$this->call(CountriesTableSeeder::class);
$this->call(CitiesTableSeeder::class);
// Roles, permissions, users
$this->call(RolesAndPermissionsSeeder::class);
$this->call(LeadingTeacherRoleSeeder::class);
$this->call(UserSeeder::class);
// Additional data
$this->call(AudienceTableSeeder::class);
$this->call(ThemeTableSeeder::class);
$this->call(EventSeeder::class);
$this->call(OldSeeder::class);
// ... and so on
// Resource seeders
$this->call(ResourceEditorRoleSeeder::class);
$this->call(DreamJobRoleModelSeeder::class);
$this->call(DreamJobsPageSeeder::class);
$this->call(GetInvolvedPageSeeder::class);
$this->call(HackathonsPageSeeder::class);
$this->call(SchoolSeeder::class);
}
}