source:
database/seeders/DepartmentsTableSeeder.php@
d795fa6
Last change on this file since d795fa6 was 120759b, checked in by , 3 years ago | |
---|---|
|
|
File size: 327 bytes |
Rev | Line | |
---|---|---|
[194a359] | 1 | <?php |
2 | ||
3 | namespace Database\Seeders; | |
4 | ||
[24a616f] | 5 | use App\Models\Department; |
[194a359] | 6 | use Carbon\Carbon; |
7 | use Illuminate\Database\Seeder; | |
8 | ||
9 | class DepartmentsTableSeeder extends Seeder | |
10 | { | |
11 | /** | |
12 | * Run the database seeds. | |
13 | * | |
14 | * @return void | |
15 | */ | |
16 | public function run() | |
17 | { | |
[120759b] | 18 | Department::factory()->count(99)->create(); |
[194a359] | 19 | } |
20 | } |
Note:
See TracBrowser
for help on using the repository browser.