<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class RoleSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $items = [
            ['name' => 'user',],            // 1
            ['name' => 'subscriber',],      // 2
            ['name' => 'member',],          // 3
            ['name' => 'stuff',],           // 4
            ['name' => 'moderator',],       // 5
            ['name' => 'contributor',],     // 6
            ['name' => 'author',],          // 7
            ['name' => 'editor',],          // 8
            ['name' => 'manager',],         // 9
            ['name' => 'admin',],           // 10
            ['name' => 'super admin',],     // 11
        ];

        foreach ($items as $item) {
            DB::table('roles')->insert([
                $item,
            ]);
        }
    }
}
