snipe-it/database/seeds/LocationSeeder.php
2016-03-25 01:18:05 -07:00

15 lines
223 B
PHP

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