mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
15 lines
223 B
PHP
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();
|
|
|
|
}
|
|
}
|