Ignore:
Timestamp:
10/21/21 23:45:59 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
4b7e2d3
Parents:
6b95845
Message:

added fileTypes controller, notifications, excel export, edited views

File:
1 edited

Legend:

Unmodified
Added
Removed
  • database/factories/DepartmentFactory.php

    r6b95845 rc6b84df  
    2424    public function definition()
    2525    {
    26         $location = $this->faker->unique()->numberBetween('1', '9');
    27         Storage::disk('local')->makeDirectory('Departments/' . $location);
     26        $location = $this->faker->unique()->numberBetween(1, 15);
     27        Storage::disk('uploads')->makeDirectory('Departments/' . $location);
    2828        return [
    2929            'name' => "Department" . $this->faker->unique()->firstName(),
    3030            'code' => $location,
    31             'location' => Storage::disk('local')->path('') . 'Departments' . DIRECTORY_SEPARATOR . $location,
     31            'location' => 'Departments' . DIRECTORY_SEPARATOR . $location,
    3232            'user_id' => $this->faker->numberBetween('1', '2'),
    3333            'created_at' => Carbon::now()
Note: See TracChangeset for help on using the changeset viewer.