You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/database/seeders/ProductSeeder.php

20 lines
341 B
PHTML

8 months ago
<?php
namespace Database\Seeders;
use App\Models\Product;
8 months ago
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class ProductSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
//
Product::factory()->count(31)->create();
8 months ago
}
}