mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +00:00
25 lines
473 B
PHP
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();
|
|
}
|
|
}
|