agregada la opcion de published a los posts

This commit is contained in:
Daniel Cortés
2019-10-17 08:00:53 -03:00
parent 877477503c
commit 2fcbf51071
8 changed files with 49 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ use Faker\Generator as Faker;
$factory->define(App\Post::class, function (Faker $faker) {
return [
'title' => $faker->words(5, true),
'md' => $faker->paragraphs(10, true)
'md' => $faker->paragraphs(10, true),
'is_published' => $faker->boolean
];
});