Changeset 495dd28 for database


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

bug fix

Location:
database
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.