snipe-it/database/seeds/SupplierSeeder.php

14 lines
220 B
PHP

<?php
use Illuminate\Database\Seeder;
use App\Models\Supplier;
class SupplierSeeder extends Seeder
{
public function run()
{
Supplier::truncate();
factory(Supplier::class, 5)->create();
}
}