Changeset ea7b12a for database/seeders
- Timestamp:
- 10/19/21 17:46:21 (3 years ago)
- Branches:
- develop, master
- Children:
- 6b95845
- Parents:
- b9c4a92
- Location:
- database/seeders
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
database/seeders/DatabaseSeeder.php
rb9c4a92 rea7b12a 19 19 $this->call(UsersTableSeeder::class); 20 20 $this->call(DepartmentsTableSeeder::class); 21 $this->call(DocumentsTableSeeder::class);21 //$this->call(DocumentsTableSeeder::class); 22 22 } 23 23 } -
database/seeders/DepartmentsTableSeeder.php
rb9c4a92 rea7b12a 16 16 public function run() 17 17 { 18 Department::factory()->count( 10)->create();18 Department::factory()->count(8)->create(); 19 19 } 20 20 } -
database/seeders/DocumentsTableSeeder.php
rb9c4a92 rea7b12a 106 106 // ], 107 107 // ]); 108 Document::factory()->count( 300)->create();108 Document::factory()->count(10)->create(); 109 109 } 110 110 }
Note:
See TracChangeset
for help on using the changeset viewer.