Changeset b375b43 for database


Ignore:
Timestamp:
10/24/21 00:13:55 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
195c3cf
Parents:
7fa13fa
Message:

edited seeders

Location:
database
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • database/factories/DepartmentFactory.php

    r7fa13fa rb375b43  
    3434            'no_of_folders' => 0,
    3535            'user_id' => "1",
    36             'created_at' => $this->faker->dateTime()
     36            'created_at' => now()
    3737        ];
    3838    }
  • database/factories/FolderFactory.php

    r7fa13fa rb375b43  
    4343            'department_id' => $deptId,
    4444            'is_important' => $this->faker->boolean,
    45             'created_at' => $this->faker->dateTime()
     45            'created_at' => now()
    4646        ];
    4747    }
  • database/seeders/DatabaseSeeder.php

    r7fa13fa rb375b43  
    1616        $this->call(RolesTableSeeder::class);
    1717        $this->call(PermissionsTableSeeder::class);
    18         $this->call(RolesPermissionsTableSeeder::class);
     18        //$this->call(RolesPermissionsTableSeeder::class);
    1919        $this->call(UsersTableSeeder::class);
    2020        $this->call(DepartmentsTableSeeder::class);
Note: See TracChangeset for help on using the changeset viewer.