<?php

namespace App\Database\Seeds;

use CodeIgniter\Database\Seeder;

class UsuarioSeeder extends Seeder
{
    public function run()
    {
        $data = [
            'username' => 'Anais',
            'password' => password_hash('sistema1234', PASSWORD_DEFAULT),
            'email'    => 'anais@tienda.com',
            'id_rol'   => 1
        ];
        $this->db->table('usuarios')->insert($data);
    }
}
