created post factory

This commit is contained in:
Ghostie 2024-08-20 20:29:06 -05:00
parent e772c195a6
commit d10db46888

View File

@ -17,7 +17,10 @@ class PostFactory extends Factory
public function definition(): array
{
return [
//
"title" => $this->faker->sentence(5),
"description" => $this->faker->sentence(20),
"image" => $this->faker->uuid() . ".jpg",
"user_id" => "1",
];
}
}