source:
database/seeds/PostsTableSeeder.php@
c433da6
Last change on this file since c433da6 was 0924b6c, checked in by , 4 years ago | |
---|---|
|
|
File size: 250 bytes |
Line | |
---|---|
1 | <?php |
2 | |
3 | use Illuminate\Database\Seeder; |
4 | |
5 | class PostsTableSeeder extends Seeder |
6 | { |
7 | /** |
8 | * Run the database seeds. |
9 | * |
10 | * @return void |
11 | */ |
12 | public function run() |
13 | { |
14 | factory(App\Models\Post::class, 100)->create(); |
15 | } |
16 | } |
Note:
See TracBrowser
for help on using the repository browser.