<?php

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

class DefaultRolesSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */


    public function run()
    {
        //Creem el Super Admin
        DB::table("roles")->insert([
            [
                "name" => "Super Admin",
                "description" => "Role with all capabilities across the platform. For Hit a Wod Administrators.",
                "slug" => "super_admin"
            ],
            [
                "name" => "Company Admin",
                "description" => "Role with all capabilities across a company",
                "slug" => "company_admin"
            ],
            [
                "name" => "Box Admin",
                "description" => "Role with all capabilities across a box",
                "slug" => "box_admin"
            ],
            [
                "name" => "Coach",
                "description" => "Role with limited capabilities for coaches",
                "slug" => "coach"
            ],
            [
                "name" => "Athlete",
                "description" => "Role with only athletes capabilities",
                "slug" => "athlete"
            ]
        ]);


    }
}
