public function run() { $user = User::where('email', '*****@*****.**')->first(); if (!$user) { $user = User::Create(['name' => 'administrator', 'email' => '*****@*****.**', 'password' => bcrypt('admin'), 'is_admin' => true]); } }