<?php

namespace App\Database\Seeds;

use CodeIgniter\Database\Seeder;

class SuperAdminSeeder extends Seeder
{
    public function run()
    {
        $data = [
            'username'   => 'superadmin',
            'password'   => password_hash('password', PASSWORD_DEFAULT),
            'full_name'  => 'Super Administrator',
            'email'      => 'superadmin@sapple.com',
            'status'     => 'active',
            'created_at' => date('Y-m-d H:i:s'),
        ];

        $this->db->table('super_admins')->insert($data);
    }
}
