<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Spatie\Permission\Models\Role;

class RolesSeeder extends Seeder {

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run() {
        $rolesNames = [
            'Administrator',
            'Basic'
        ];
        
        foreach ($rolesNames as $roleName) {
            Role::create([
                'name' => $roleName,
            ]);
        }
    }

}
