Archived
1
0
Fork 0
This repository has been archived on 2026-06-16. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
wow-raid-bingo/database/seeders/RaidSeeder.php

28 lines
558 B
PHP

<?php
namespace Database\Seeders;
use App\Models\Raid;
use Illuminate\Database\Seeder;
class RaidSeeder extends Seeder
{
/**
* Seed the database with raids.
*
* @return void
*/
public function run()
{
$raids = [
// TBC
'Karazhan', 'Grul\'s Lair', 'Magtheridon', 'SSC', 'TK',
// Wrath
'Naxramas', 'Obsidian Sanctum', 'Malygos', 'Ulduar', 'Icecrown Citadel'
];
foreach($raids as $name) {
Raid::insert(['name' => $name ]);
}
}
}