Files
exchange-2.0/database/seeds/DatabaseSeeder.php
T
CheeSiong 4222dc640c pull
2020-10-23 13:08:25 +08:00

25 lines
473 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);
DB::commit();
}
}