develop
Last change
on this file since 897df21 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:
290 bytes
|
Rev | Line | |
---|
[4b7e2d3] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | namespace Database\Seeders;
|
---|
| 4 |
|
---|
| 5 | use App\Models\File;
|
---|
| 6 | use Illuminate\Database\Seeder;
|
---|
| 7 |
|
---|
| 8 | class FilesTableSeeder extends Seeder
|
---|
| 9 | {
|
---|
| 10 | /**
|
---|
| 11 | * Run the database seeds.
|
---|
| 12 | *
|
---|
| 13 | * @return void
|
---|
| 14 | */
|
---|
| 15 | public function run()
|
---|
| 16 | {
|
---|
| 17 | File::factory()->count(50)->create();
|
---|
| 18 | }
|
---|
| 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.