Update Article.php

This commit is contained in:
2020-08-10 05:22:35 +05:00
parent 2137b72a60
commit 280149b125

View File

@@ -39,6 +39,6 @@ class Article extends Model
public function topics()
{
return $this->belongsToMany(Topic::class);
return $this->belongsToMany(Topic::class)->withTimestamps();
}
}