Files
monica/database/seeds/DatabaseSeeder.php
T
Régis FreydandGitHub b4ec3d96ca Replace activity types and activity type categories models (#1556)
This PR adds the first step towards supporting custom activity types and custom activity type categories.
2018-07-14 08:25:31 -04:00

26 lines
524 B
PHP

<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
switch (\Illuminate\Support\Facades\App::environment()) {
case 'local':
$this->call(FakeUserTableSeeder::class);
break;
case 'testing':
$this->call(FakeUserTableSeeder::class);
break;
case 'production':
break;
}
}
}