source: database/seeders/DepartmentsTableSeeder.php@ b9c4a92

develop
Last change on this file since b9c4a92 was b9c4a92, checked in by Berat Kjufliju <kufliju@…>, 3 years ago

edited file upload, seeding and departments controller

  • Property mode set to 100644
File size: 327 bytes
Line 
1<?php
2
3namespace Database\Seeders;
4
5use App\Models\Department;
6use Carbon\Carbon;
7use Illuminate\Database\Seeder;
8
9class DepartmentsTableSeeder extends Seeder
10{
11 /**
12 * Run the database seeds.
13 *
14 * @return void
15 */
16 public function run()
17 {
18 Department::factory()->count(10)->create();
19 }
20}
Note: See TracBrowser for help on using the repository browser.