* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database seeds. */ public function run() { $this->call(PermissionsSeeder::class); if (app()->environment() === 'local') { $this->call(UsersSeeder::class); $this->call(PostsSeeder::class); } } }