<?php
/*=========================================================================================
    App Name  : PPID PTUN Kupang
    File Name : SettingSeeder
    --------------------------------------------------------------------------------------
    Author    : Fuad Auliya Rohman
    Email     : fuad.dev16@gmail.com
==========================================================================================*/

namespace Database\Seeders;

use App\Models\Settings;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class SettingSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = [
            [
                'name' => 'max_image_upload',
                'value' => '10000',
                'description' => 'in kilobyte',
            ],
            [
                'name' => 'max_file_upload',
                'value' => '10000',
                'description' => 'in kilobyte',
            ],
            [
                'name' => 'maintenance',
                'value' => 'false',
                'description' => null,
            ],
        ];

        Settings::insert($data);
    }
}
