source:
database/seeders/DepartmentsTableSeeder.php@
8c71900
Last change on this file since 8c71900 was 4b7e2d3, 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 | { | |
[c6b84df] | 20 | Department::factory()->count(15)->create(); |
[194a359] | 21 | } |
22 | } |
Note:
See TracBrowser
for help on using the repository browser.