mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update migration
This commit is contained in:
parent
2a304d18c7
commit
9dd58bbbc3
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ return new class extends Migration
|
|||
foreach($hashtags as $hashtag) {
|
||||
$count = DB::table('status_hashtags')->whereHashtagId($hashtag->id)->count();
|
||||
$hashtag->cached_count = $count;
|
||||
$hashtag->can_trend = true;
|
||||
$hashtag->can_search = true;
|
||||
$hashtag->save();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue