Added rest of files
This commit is contained in:
committed by
shaun collins
parent
646041230b
commit
09c4bd02ff
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class BlogFactory extends Factory
|
||||
{
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'title' => fake()->sentence(),
|
||||
'content' => fake()->paragraph(),
|
||||
'slug' => fake()->slug(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user