repo_pattern/database/seeders/OrderSeeder.php

20 lines
335 B
PHP
Raw Permalink Normal View History

2024-02-13 07:26:11 +00:00
<?php
namespace Database\Seeders;
use App\Models\Order;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class OrderSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
//
Order::factory()->times(50)->create();
}
}