<?php

use App\Models\Config;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;

class ConfigSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        \App\Models\Config::query()->firstOrCreate([
            'name' => 'Address',
        ], [
            'alias' => 'address',
            'type' => 'string',
            'value' => '',
        ]);

        \App\Models\Config::query()->firstOrCreate([
            'name' => 'Phone NO.',
        ], [
            'alias' => 'phone',
            'type' => 'string',
            'value' => '',
        ]);

        \App\Models\Config::query()->firstOrCreate([
            'name' => 'Email Address',
        ], [
            'alias' => 'address',
            'type' => 'string',
            'value' => '',
        ]);

        \App\Models\Config::query()->firstOrCreate([
            'name' => 'Website',
        ], [
            'alias' => 'website',
            'type' => 'string',
            'value' => '',
        ]);

        \App\Models\Config::query()->firstOrCreate([
            'name' => 'Facebook Link',
        ], [
            'alias' => 'facebook',
            'type' => 'string',
            'value' => '',
        ]);
    }
}
