Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
emtiazzahid committed Dec 4, 2024
2 parents 1b6c1b2 + c550eca commit 150b998
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stubs/seeder.stub
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\{{ModelName}};

class {{ModelName}}Seeder extends Seeder
{
public function run()
{
App\Models\{{ModelName}}::factory()->count(10)->create();
{{ModelName}}::factory()->count(10)->create();
}
}

0 comments on commit 150b998

Please sign in to comment.