source: database/seeders/RolesTableSeeder.php@ 582789f

develop
Last change on this file since 582789f was 7304c7f, checked in by beratkjufliju <kufliju@…>, 3 years ago

added user authentication, create & forgot password methods and blades

  • Property mode set to 100644
File size: 463 bytes
Line 
1<?php
2
3namespace Database\Seeders;
4
5use Illuminate\Database\Seeder;
6
7class RolesTableSeeder extends Seeder
8{
9 /**
10 * Run the database seeds.
11 *
12 * @return void
13 */
14 public function run()
15 {
16 \DB::table('roles')->insert([
17 ["name" => "admin"], // Have access to all users(managing users), departments, documents etc
18 ["name" => "referent"], // Have access to all departments, documents etc
19 ]);
20 }
21}
Note: See TracBrowser for help on using the repository browser.