mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-30 07:59:50 -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();
|
|
|
|
}
|
|
}
|