<?php
declare(strict_types=1);

use Phinx\Seed\AbstractSeed;

final class AdminSeed extends AbstractSeed
{
    public function run(): void
    {
        $this->table('usuarios')->insert([
            'nombre' => 'Admin',
            'email' => 'admin@deliverytienda.test',
            'password_hash' => password_hash('admin123', PASSWORD_DEFAULT),
            'rol' => 'admin',
            'activo' => 1,
        ])->saveData();
    }
}
