Update (keywords): new logic
This commit is contained in:
@@ -69,6 +69,11 @@ class RssPost extends Model implements Feedable
|
||||
'keyword_saved',
|
||||
];
|
||||
|
||||
public function entities_keywords()
|
||||
{
|
||||
return $this->hasMany(RssPostKeyword::class);
|
||||
}
|
||||
|
||||
public function category()
|
||||
{
|
||||
return $this->belongsTo(Category::class);
|
||||
|
||||
Reference in New Issue
Block a user