123456789101112131415161718192021 |
- <?php
- /*
- * This file is part of the Jiannei/lumen-api-starter.
- *
- * (c) Jiannei <longjian.huang@foxmail.com>
- *
- * This source file is subject to the MIT license that is bundled
- * with this source code in the file LICENSE.
- */
- use Database\Factories\PostFactory;
- use Illuminate\Database\Seeder;
- class PostsSeeder extends Seeder
- {
- public function run()
- {
- PostFactory::new()->count(1000)->create();
- }
- }
|