Changed the seeder order to accomodate actionlog factory

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-10-26 05:03:59 +01:00
parent 7042260871
commit 6c996ac8fa

View file

@ -38,12 +38,13 @@ class DatabaseSeeder extends Seeder
$this->call(DepreciationSeeder::class); $this->call(DepreciationSeeder::class);
$this->call(StatuslabelSeeder::class); $this->call(StatuslabelSeeder::class);
$this->call(AccessorySeeder::class); $this->call(AccessorySeeder::class);
$this->call(CustomFieldSeeder::class);
$this->call(AssetSeeder::class); $this->call(AssetSeeder::class);
$this->call(LicenseSeeder::class); $this->call(LicenseSeeder::class);
$this->call(ComponentSeeder::class); $this->call(ComponentSeeder::class);
$this->call(ConsumableSeeder::class); $this->call(ConsumableSeeder::class);
$this->call(ActionlogSeeder::class); $this->call(ActionlogSeeder::class);
$this->call(CustomFieldSeeder::class);
Artisan::call('snipeit:sync-asset-locations', ['--output' => 'all']); Artisan::call('snipeit:sync-asset-locations', ['--output' => 'all']);
$output = Artisan::output(); $output = Artisan::output();