summaryrefslogtreecommitdiff
path: root/seeds/KeysTableSeeder.php
blob: c7ee8b8392c985c4132daa4a66a1e0844180d483 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php

use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;

class KeysTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        // Configs
        DB::table('keys')->insert([
            'type' => 'config',
            'key' => 'page_size',
            'value' => '10'
        ]);

        DB::table('keys')->insert([
            'type' => 'config',
            'key' => 'hp_fans',
            'value' => '3'
        ]);
    }
}