- Timestamp:
- 10/24/21 23:44:27 (3 years ago)
- Branches:
- develop, master
- Children:
- 6f7d3df
- Parents:
- df6e9ec
- Location:
- database
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
database/factories/DepartmentFactory.php
rdf6e9ec r495dd28 27 27 public function definition() 28 28 { 29 $location = $this->faker->unique()->numberBetween(10, 25);29 $location = $this->faker->unique()->numberBetween(10, 10); 30 30 Storage::disk('uploads')->makeDirectory('Departments/' . $location); 31 31 return [ -
database/seeders/DepartmentsTableSeeder.php
rdf6e9ec r495dd28 18 18 public function run() 19 19 { 20 Department::factory()->count(1 5)->create();20 Department::factory()->count(10)->create(); 21 21 } 22 22 }
Note:
See TracChangeset
for help on using the changeset viewer.