Files
Document-Management-System-…/database/seeds/DocumentSeeder.php

18 lines
317 B
PHP
Raw Normal View History

2021-04-07 06:32:42 -04:00
<?php
use Illuminate\Database\Seeder;
class DocumentSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(App\Entities\Document::class, 100)->create();
factory(App\Entities\Attachment::class, 20)->create();
}
}