mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 19:51:09 -04:00
20 lines
354 B
PHP
20 lines
354 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Spatie\Permission\Models\Role;
|
|
|
|
class RoleSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
Role::create(['name' => 'admin']);
|
|
Role::create(['name' => 'contact']);
|
|
Role::create(['name' => 'staff']);
|
|
}
|
|
}
|