migrate template
This commit is contained in:
1 parent
e57fdfc2ad
commit
24b8539e98
135 files changed
+7586
-237
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\FooterNavLink;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends Factory<FooterNavLink>
|
||||
*/
|
||||
class FooterNavLinkFactory extends Factory
|
||||
{
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'label' => fake()->word(),
|
||||
'url' => '#',
|
||||
'sort_order' => fake()->numberBetween(0, 10),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user