<?php

use Illuminate\Database\Seeder;

class SettingsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run()
    {
        // Post per page
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'POST PER PAGE',
            'name_setting' => 'post_per_page',
            'value_setting' => '6',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // Email
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'EMAIL',
            'name_setting' => 'email',
            'value_setting' => 'ppti@unesa.ac.id',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // HEADER
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'HEADER',
            'name_setting' => 'header_admin',
            'value_setting' => 'Master',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // DIRECTORY STORAGE
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'DIRECTORY STORAGE',
            'name_setting' => 'directory',
            'value_setting' => 'profileunesa_konten_statik/uploads/new-webprofile',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // WEB TITILE
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'WEB TITILE',
            'name_setting' => 'web_title',
            'value_setting' => 'NEW WPSS | PPTI Universitas Negeri Surabaya',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // LOGO
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'LOGO',
            'name_setting' => 'logo',
            'value_setting' => 'https://unesa.ac.id/assets/switcher/images/logo.png',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // STYLE
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'STYLE',
            'name_setting' => 'style',
            'value_setting' => 'style-wpss.css',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // ONE PAGE?
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'ONE PAGE?',
            'name_setting' => 'onepage',
            'value_setting' => '1',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // EKSTERNAL STORAGE
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'EKSTERNAL STORAGE',
            'name_setting' => 'external_storage',
            'value_setting' => '1',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // URL STORAGE
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'URL STORAGE',
            'name_setting' => 'url_static',
            'value_setting' => 'https://statik.unesa.ac.id',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // AUTO TRANSLATE
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'AUTO TRANSLATE',
            'name_setting' => 'auto_translate',
            'value_setting' => '1',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // THEME
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'THEME',
            'name_setting' => 'theme',
            'value_setting' => 'jollyany',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // LANGUAGE
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'LANGUAGE',
            'name_setting' => 'default_language',
            'value_setting' => 'id',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // KEYWORD
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'KEYWORD',
            'name_setting' => 'default_keyword',
            'value_setting' => 'unesa, universitas negeri surabaya',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);

        // LANGUAGE
        DB::table('swp_settings')->insert([
            'id' => Str::uuid()->toString(),
            'show_name_setting' => 'TEAM',
            'name_setting' => 'team',
            'value_setting' => '',
            'userid_created' => 'Aan Choesni Herlingga',
            'userid_updated' => 'Aan Choesni Herlingga',
        ]);
    }
}
