Changeset 495dd28


Ignore:
Timestamp:
10/24/21 23:44:27 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
6f7d3df
Parents:
df6e9ec
Message:

bug fix

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • config/filesystems.php

    rdf6e9ec r495dd28  
    1414    */
    1515
    16     'default' => env('FILESYSTEM_DRIVER', 'local'),
     16    'default' => env('FILESYSTEM_DRIVER', 'public'),
    1717
    1818    /*
     
    3232
    3333        'local' => [
    34             'driver' => 'local',
     34            'driver' => 'public',
    3535            'root' => storage_path() . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'public',
    3636            'permissions' => [
     
    4444                ],
    4545                ],
     46            'visibility' => 'public'
    4647        ],
    4748
     
    5960
    6061        'uploads' => [
    61             'driver' => 'local',
     62            'driver' => 'public',
    6263            'root'   => storage_path() . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'public',
     64            'visibility' => 'public'
    6365        ],
    6466
  • database/factories/DepartmentFactory.php

    rdf6e9ec r495dd28  
    2727    public function definition()
    2828    {
    29         $location = $this->faker->unique()->numberBetween(10, 25);
     29        $location = $this->faker->unique()->numberBetween(10, 10);
    3030        Storage::disk('uploads')->makeDirectory('Departments/' . $location);
    3131        return [
  • database/seeders/DepartmentsTableSeeder.php

    rdf6e9ec r495dd28  
    1818    public function run()
    1919    {
    20         Department::factory()->count(15)->create();
     20        Department::factory()->count(10)->create();
    2121    }
    2222}
Note: See TracChangeset for help on using the changeset viewer.