diff --git a/app/Article.php b/app/Article.php index 03ed312..296b755 100644 --- a/app/Article.php +++ b/app/Article.php @@ -39,6 +39,6 @@ class Article extends Model public function topics() { - return $this->belongsToMany(Topic::class); + return $this->belongsToMany(Topic::class)->withTimestamps(); } }