Changeset ea7b12a for database/factories/DepartmentFactory.php
- Timestamp:
- 10/19/21 17:46:21 (3 years ago)
- Branches:
- develop, master
- Children:
- 6b95845
- Parents:
- b9c4a92
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
database/factories/DepartmentFactory.php
rb9c4a92 rea7b12a 24 24 public function definition() 25 25 { 26 $location = $this->faker-> randomNumber('1', '1');26 $location = $this->faker->unique()->numberBetween('1', '9'); 27 27 Storage::disk('local')->makeDirectory('Departments/' . $location); 28 28 return [
Note:
See TracChangeset
for help on using the changeset viewer.