Changeset 0df7a93 for database/seeders/UsersTableSeeder.php
- Timestamp:
- 10/24/21 20:55:11 (3 years ago)
- Branches:
- develop, master
- Children:
- 7043def
- Parents:
- e0d3f94
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
database/seeders/UsersTableSeeder.php
re0d3f94 r0df7a93 20 20 "name" => "Berat", 21 21 "surname" => "Kjufliju", 22 "username" => " beratk",22 "username" => "admin", 23 23 "password" => bcrypt("123456"), 24 24 "email" => "kufliju@gmail.com", … … 31 31 ]); 32 32 33 \DB::table("users")->insert([ 34 "id" => "2", 35 "name" => "Berat", 36 "surname" => "Kjufliju", 37 "username" => "referent", 38 "password" => bcrypt("123456"), 39 "email" => "mail@host.com", 40 "phone_number" => "+38971201236", 41 "role_id" => 2, 42 "is_active" => true, 43 "is_confirmed" => true, 44 "created_by" => "1", 45 "created_at" => now() 46 ]); 47 48 \DB::table("users")->insert([ 49 "id" => "3", 50 "name" => "Berat", 51 "surname" => "Kjufliju", 52 "username" => "viewer", 53 "password" => bcrypt("123456"), 54 "email" => "test@test.com", 55 "phone_number" => "+38971201235", 56 "role_id" => 3, 57 "is_active" => true, 58 "is_confirmed" => true, 59 "created_by" => "1", 60 "created_at" => now() 61 ]); 62 33 63 User::factory()->count(50)->create(); 34 64
Note:
See TracChangeset
for help on using the changeset viewer.