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