<?php

use Illuminate\Database\Seeder;

class FuncsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        DB::table('funcs')->delete();
        DB::table('funcs')->insert([
            [
                'name' => "行政管理",
                "slug" => "admin",
                "divider" => false,
                "parent_id" => null
            ],[
                'name' => "角色管理",
                "slug" => "group",
                "divider" => false,
                "parent_id" => 1
            ],[
                'name' => "帳號管理",
                "slug" => "user",
                "divider" => false,
                "parent_id" => 1
            ]
        ]);
    }
}
