mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -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();
|
||
|
|
||
|
}
|
||
|
}
|