<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use \App\Models\Recipients;
use \App\Models\Prize;
use \App\Models\User;

class RecipientsSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Recipients::truncate();
        // $prizes = Prize::all();
        // foreach ($prizes as $prize) {
        //     Recipients::create([
        //         'prize_id' => $prize->id,
        //         'user_id' => User::all()->random()->user_id,
        //         'is_claimed' => false
        //     ]);
        // }
    }
}
