database/seeders/RaidSeeder.php: Enable seeding of raids.
This commit is contained in:
parent
e9b57ce1a4
commit
6926c4b3e0
1 changed files with 4 additions and 4 deletions
|
|
@ -14,10 +14,10 @@ class RaidSeeder extends Seeder
|
|||
*/
|
||||
public function run()
|
||||
{
|
||||
//$raids = [ 'Karazhan', 'Grul\'s Lair', 'Magtheridon', 'SSC', 'TK' ];
|
||||
$raids = [ 'Karazhan', 'Grul\'s Lair', 'Magtheridon', 'SSC', 'TK' ];
|
||||
|
||||
//foreach($raids as $name) {
|
||||
//Raid::insert(['name' => $name ]);
|
||||
//}
|
||||
foreach($raids as $name) {
|
||||
Raid::insert(['name' => $name ]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue