Changeset 0df7a93 for database/factories
- 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/factories/FolderFactory.php
re0d3f94 r0df7a93 27 27 public function definition() 28 28 { 29 $array = [5, 15, 25, 35, 45, 55, 65, 75, 85, 95, 105, 115, 125, 135, 145]; 30 31 $deptId = Arr::random($array); 29 $deptId = 1; 32 30 33 31 $deptCode = Department::find($deptId)->code; 32 34 33 $name = $this->faker->unique()->firstName(); 35 34
Note:
See TracChangeset
for help on using the changeset viewer.