mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 12:34:03 +00:00
27 lines
750 B
PHP
Executable File
27 lines
750 B
PHP
Executable File
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Seed the application's database.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run(): void {
|
|
if(app()->environment() !== "production"){
|
|
$this->call(CompaniesTableSeeder::class);
|
|
$this->call(AddressBookTableSeeder::class);
|
|
$this->call(ContactsTableSeeder::class);
|
|
$this->call(WarehousesTableSeeder::class);
|
|
$this->call(OrdersTableSeeder::class);
|
|
$this->call(PackingListsTableSeeder::class);
|
|
$this->call(PackagesTableSeeder::class);
|
|
}
|
|
|
|
$this->call(PrimaryStepsTableSeeder::class);
|
|
$this->call(ModularStepsTableSeeder::class);
|
|
}
|
|
}
|