2016-03-25 01:18:05 -07:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
|
|
|
Model::unguard();
|
|
|
|
|
2016-09-29 22:20:49 -07:00
|
|
|
$this->call(CompanySeeder::class);
|
|
|
|
$this->call(UserSeeder::class);
|
2016-03-25 01:18:05 -07:00
|
|
|
$this->call(AssetModelSeeder::class);
|
|
|
|
$this->call(AccessorySeeder::class);
|
|
|
|
$this->call(AssetSeeder::class);
|
2016-09-29 22:20:49 -07:00
|
|
|
$this->call(ComponentSeeder::class);
|
2016-03-25 01:18:05 -07:00
|
|
|
$this->call(ConsumableSeeder::class);
|
|
|
|
$this->call(StatuslabelSeeder::class);
|
|
|
|
$this->call(SupplierSeeder::class);
|
|
|
|
$this->call(CategorySeeder::class);
|
|
|
|
$this->call(LicenseSeeder::class);
|
|
|
|
$this->call(ActionlogSeeder::class);
|
|
|
|
$this->call(DepreciationSeeder::class);
|
|
|
|
$this->call(ManufacturerSeeder::class);
|
|
|
|
$this->call(LocationSeeder::class);
|
|
|
|
$this->call(CustomFieldSeeder::class);
|
|
|
|
|
|
|
|
Model::reguard();
|
|
|
|
}
|
|
|
|
}
|