Changeset 495dd28
- Timestamp:
- 10/24/21 23:44:27 (3 years ago)
- Branches:
- develop, master
- Children:
- 6f7d3df
- Parents:
- df6e9ec
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
config/filesystems.php
rdf6e9ec r495dd28 14 14 */ 15 15 16 'default' => env('FILESYSTEM_DRIVER', ' local'),16 'default' => env('FILESYSTEM_DRIVER', 'public'), 17 17 18 18 /* … … 32 32 33 33 'local' => [ 34 'driver' => ' local',34 'driver' => 'public', 35 35 'root' => storage_path() . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'public', 36 36 'permissions' => [ … … 44 44 ], 45 45 ], 46 'visibility' => 'public' 46 47 ], 47 48 … … 59 60 60 61 'uploads' => [ 61 'driver' => ' local',62 'driver' => 'public', 62 63 'root' => storage_path() . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'public', 64 'visibility' => 'public' 63 65 ], 64 66 -
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.