mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 04:24:08 +00:00
34 lines
1.0 KiB
PHP
34 lines
1.0 KiB
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
Eloquent::unguard();
|
|
|
|
$this->call(UsersTableSeeder::class);
|
|
$this->call(RolesAndPermissionsSeeder::class);
|
|
$this->call(UserRoleSeeder::class);
|
|
$this->call(RateTableSeeder::class);
|
|
$this->call(BookTableSeeder::class);
|
|
$this->call(SettingCreditSeeder::class);
|
|
$this->call(SuppliersTableSeeder::class);
|
|
$this->call(MarkingSeeder::class);
|
|
DB::statement('SET FOREIGN_KEY_CHECKS=0;');
|
|
$this->call(SettingMalaysiaBankSeeder::class);
|
|
$this->call(SettingBeneficiarySeeder::class);
|
|
$this->call(SettingActiveBankSeeder::class);
|
|
$this->call(SettingTaxRateSeeder::class);
|
|
$this->call(SettingBillingChargeSeeder::class);
|
|
DB::statement('SET FOREIGN_KEY_CHECKS=1;');
|
|
}
|
|
}
|