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/CardSeeder.php
2021-10-18 11:56:52 +02:00

30 lines
513 B
PHP

<?php
namespace Database\Seeders;
use App\Models\Card;
use Illuminate\Database\Seeder;
class CardSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
Card::factory(25)
->random_class()
->create();
Card::factory(10)
->random_class()
->random_raid()
->create();
Card::factory(15)
->random_raid()
->create();
}
}