Last change
on this file since 1f7c934 was 495dd28, checked in by beratkjufliju <kufliju@…>, 3 years ago |
bug fix
|
-
Property mode
set to
100644
|
File size:
371 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | namespace Database\Seeders;
|
---|
4 |
|
---|
5 | use App\Models\Department;
|
---|
6 | use App\Models\Folder;
|
---|
7 | use App\Models\User;
|
---|
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 | {
|
---|
20 | Department::factory()->count(10)->create();
|
---|
21 | }
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.