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

23 lines
441 B
PHP

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