develop
Last change
on this file since e6c1f87 was e6c1f87, checked in by beratkjufliju <kufliju@…>, 3 years ago |
added pagination, is_important
|
-
Property mode
set to
100644
|
File size:
327 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | namespace Database\Seeders;
|
---|
4 |
|
---|
5 | use App\Models\Department;
|
---|
6 | use Carbon\Carbon;
|
---|
7 | use Illuminate\Database\Seeder;
|
---|
8 |
|
---|
9 | class DepartmentsTableSeeder extends Seeder
|
---|
10 | {
|
---|
11 | /**
|
---|
12 | * Run the database seeds.
|
---|
13 | *
|
---|
14 | * @return void
|
---|
15 | */
|
---|
16 | public function run()
|
---|
17 | {
|
---|
18 | Department::factory()->count(25)->create();
|
---|
19 | }
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.