Changeset 94f05dc for database/factories/FolderFactory.php
- Timestamp:
- 10/24/21 23:23:54 (3 years ago)
- Branches:
- develop, master
- Children:
- df6e9ec
- Parents:
- fa80fbe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
database/factories/FolderFactory.php
rfa80fbe r94f05dc 27 27 public function definition() 28 28 { 29 $deptId = 15;30 29 31 $deptCode = Department::find( $deptId)->code;30 $deptCode = Department::find(1)->code; 32 31 33 32 $name = $this->faker->unique()->firstName(); … … 42 41 'location' => $location, 43 42 'user_id' => 1, 44 'department_id' => $deptId,43 'department_id' => 1, 45 44 'is_important' => $this->faker->boolean, 46 45 'created_at' => now()
Note:
See TracChangeset
for help on using the changeset viewer.