Make sure prior article is in prior month when seeding
This commit is contained in:
parent
d43530cdd2
commit
829b2c131f
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class ArticlesTableSeeder extends Seeder
|
|||
*/
|
||||
public function run()
|
||||
{
|
||||
$now = Carbon::now()->subMonth();
|
||||
$now = Carbon::now()->subMonth()->subDays(5);
|
||||
$articleFirst = Article::create([
|
||||
'title' => 'My New Blog',
|
||||
'main' => 'This is *my* new blog. It uses `Markdown`.',
|
||||
|
|
Loading…
Add table
Reference in a new issue