Files
exchange-2.0/database/seeds/DatabaseSeeder.php
T
CheeSiong c3f153fe4b Create Booking Logic Class
Update Booking Logic Class
 Delete Booking Logic Class
2020-12-04 09:49:47 +08:00

35 lines
821 B
PHP

<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
DB::beginTransaction();
//General
$this->call(CountriesTableSeeder::class);
$this->call(CurrenciesTableSeeder::class);
$this->call(StatesTableSeeder::class);
$this->call(DistrictsTableSeeder::class);
$this->call(SegmentsTableSeeder::class);
$this->call(SegmentConstantsTableSeeder::class);
$this->call(CompaniesTableSeeder::class);
$this->call(CompanyBanksTableSeeder::class);
// Admin
$this->call(AdminUserTableSeeder::class);
$this->call(AdminUserPermissionsTableSeeder::class);
DB::commit();
}
}