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/TBCRaidSeeder.php

23 lines
418 B
PHP

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