mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 15:44:11 -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();
|
|
|
|
}
|
|
}
|