mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
This is a temp fix for the seeders
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
fc7f1f907d
commit
8ae14c43f3
|
@ -29,26 +29,26 @@ class AssetSeeder extends Seeder
|
|||
$this->locationIds = Location::all()->pluck('id');
|
||||
$this->supplierIds = Supplier::all()->pluck('id');
|
||||
|
||||
Asset::factory()->count(1000)->laptopMbp()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(2000)->laptopMbp()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(50)->laptopMbpPending()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(50)->laptopMbpArchived()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(50)->laptopAir()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(5)->laptopSurface()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(50)->laptopSurface()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(5)->laptopXps()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(5)->laptopSpectre()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(5)->laptopZenbook()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(3)->laptopYoga()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(50)->laptopZenbook()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(30)->laptopYoga()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(30)->desktopMacpro()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(30)->desktopLenovoI5()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(30)->desktopOptiplex()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(5)->confPolycom()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(2)->confPolycomcx()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(12)->tabletIpad()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(4)->tabletTab3()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(50)->confPolycom()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(20)->confPolycomcx()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(30)->tabletIpad()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(10)->tabletTab3()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(27)->phoneIphone11()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(40)->phoneIphone12()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(10)->ultrafine()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(10)->ultrasharp()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(20)->ultrafine()->state(new Sequence($this->getState()))->create();
|
||||
Asset::factory()->count(20)->ultrasharp()->state(new Sequence($this->getState()))->create();
|
||||
|
||||
$del_files = Storage::files('assets');
|
||||
foreach ($del_files as $del_file) { // iterate files
|
||||
|
|
Loading…
Reference in a new issue