Skip to content

Commit

Permalink
updated seeders
Browse files Browse the repository at this point in the history
  • Loading branch information
angusgoody committed Aug 11, 2023
1 parent 83c4628 commit 67f8389
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
6 changes: 2 additions & 4 deletions database/seeders/EducationSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public function run()
'level' => "GCSE",
'start_date' => Carbon::parse('2011-01-09'),
'end_date' => Carbon::parse('2016-01-07'),
'description' => "Dunno mate"
]);

// KEC
Expand All @@ -41,15 +40,14 @@ public function run()
'level' => "A level",
'start_date' => Carbon::parse('2016-01-09'),
'end_date' => Carbon::parse('2018-01-07'),
'description' => "College enit"
]);

// Sheffield
Education::create([
'institute' => "University of Sheffield",
'level' => "Bsc Computer Science",
'level' => "Bsc Computer Science (First-Class Honours)",
'start_date' => Carbon::parse('2019-01-09'),
'description' => "Seshfield mate"
'end_date' => Carbon::parse('2023-01-06'),
]);
}
}
27 changes: 27 additions & 0 deletions database/seeders/ProdSeeder.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class ProdSeeder extends Seeder
{
/**
* Seed the application's database
* for developer purposes
*
* @return void
*/
public function run()
{
// \App\Models\User::factory(10)->create();
$this->call(CategorySeeder::class);
$this->call(TagSeeder::class);
$this->call(RoleSeeder::class);
$this->call(UserSeeder::class);
$this->call(SkillSectionSeeder::class);
$this->call(SkillSeeder::class);
$this->call(EducationSeeder::class);
$this->call(EmploymentSeeder::class);
}
}

0 comments on commit 67f8389

Please sign in to comment.