Changeset 796e7ac for database/factories
- Timestamp:
- 10/25/21 13:59:16 (3 years ago)
- Branches:
- develop, master
- Children:
- 05e57e2
- Parents:
- ff5b46e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
database/factories/FolderFactory.php
rff5b46e r796e7ac 27 27 public function definition() 28 28 { 29 $inputArray = [5, 15, 25, 35, 45, 55, 65, 75];30 $deptId = Arr::random($inputArray);29 //$inputArray = [5, 15, 25, 35, 45, 55, 65, 75]; 30 //$deptId = Arr::random($inputArray); 31 31 32 //$deptId = $this->faker->numberBetween(1, 10);32 $deptId = $this->faker->numberBetween(1, 10); 33 33 34 34 $deptCode = Department::find($deptId)->code;
Note:
See TracChangeset
for help on using the changeset viewer.