ok

Mini Shell

Direktori : /home2/selectio/www/fms-worksuite/database/seeders/
Upload File :
Current File : /home2/selectio/www/fms-worksuite/database/seeders/ProjectAdminRoleSeeder.php

<?php
namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\Role;

class ProjectAdminRoleSeeder extends Seeder
{

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $admin = new Role();
        $admin->name = 'project_admin';
        $admin->display_name = 'Project Admin'; // optional
        $admin->description = 'Project admin is allowed to manage all the projects in a company.'; // optional
        $admin->save();
    }

}

Zerion Mini Shell 1.0