<?php

namespace App\Database\Seeds;

use CodeIgniter\Database\Seeder;

class AdditionalActivitySeeder extends Seeder
{
    public function run()
    {
        $data = [
            [
                'date' => date('Y-m-d'),
                'time' => '06:30:00',
                'activity' => 'Joging di pagi hari',
                'media' => null,
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s'),
            ],
            [
                'date' => date('Y-m-d'),
                'time' => '08:00:00',
                'activity' => 'Bekerja',
                'media' => null,
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s'),
            ],
        ];

        $this->db->table('activities')->insertBatch($data);
    }
}
