mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 00:54:07 -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();
|
||
|
|
||
|
}
|
||
|
}
|