Files
monica/database/seeds/DatabaseSeeder.php
T
2017-05-29 21:27:00 -04:00

31 lines
746 B
PHP

<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
if (env('APP_ENV') == 'local') {
$this->call(ActivityTypesTableSeeder::class);
$this->call(CountriesSeederTable::class);
$this->call(FakeContentTableSeeder::class);
}
if (env('APP_ENV') == 'testing') {
$this->call(ActivityTypesTableSeeder::class);
$this->call(CountriesSeederTable::class);
}
if (env('APP_ENV') == 'production') {
$this->call(ActivityTypesTableSeeder::class);
$this->call(CountriesSeederTable::class);
}
}
}