journal-intime/database/seeds/PostsTableSeeder.php

18 lines
287 B
PHP
Raw Permalink Normal View History

<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class PostsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$users = factory(App\Post::class, 100)->create();
}
}