source: database/seeders/DepartmentsTableSeeder.php@ 9012e81

develop
Last change on this file since 9012e81 was 4b7e2d3, checked in by beratkjufliju <kufliju@…>, 3 years ago

bug fixes, edited export, added fileSeeder for DB testing

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