'datetime', ]; /** * Get the blog posts the user has posted. * * @return App\BlogPost */ public function posts() { return $this->hasMany('App\BlogPost'); } }