<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Seeder;

class OwnerSeeder extends Seeder
{
    public function run(): void
    {
        User::updateOrCreate(
            ['email' => 'owner@gpsmigration.com'],
            [
                'name'      => 'GPS Owner',
                'password'  => bcrypt('password'),
                'role'      => 'owner',
                'is_active' => true,
            ]
        );
    }
}
