Changeset d795fa6 for database/factories
- Timestamp:
- 10/17/21 18:39:50 (3 years ago)
- Branches:
- develop, master
- Children:
- bd9e8e3
- Parents:
- 120759b
- Location:
- database/factories
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
database/factories/DepartmentFactory.php
r120759b rd795fa6 28 28 return [ 29 29 'id' => $this->faker->unique()->randomNumber(), 30 'name' => $this->faker-> domainName(),30 'name' => $this->faker->name(), 31 31 'code' => $location, 32 32 'location' => 'Departments/' . $location, -
database/factories/UserFactory.php
r120759b rd795fa6 29 29 'password' => $this->faker->password(), 30 30 'email' => $this->faker->email(), 31 ' mobile_number' => $this->faker->phoneNumber(),31 'phone_number' => $this->faker->phoneNumber(), 32 32 'role_id' => $this->faker->numberBetween(1, 2), 33 33 'is_online' => $this->faker->boolean, 34 34 'is_confirmed' => $this->faker->boolean, 35 35 'is_forgot_password' => $this->faker->boolean, 36 'created_by' => "1", 36 37 'created_at' => Carbon::now() 37 38 ];
Note:
See TracChangeset
for help on using the changeset viewer.