kopia lustrzana https://github.com/pixelfed/pixelfed
Update migration
rodzic
2a304d18c7
commit
9dd58bbbc3
|
|
@ -19,6 +19,8 @@ return new class extends Migration
|
||||||
foreach($hashtags as $hashtag) {
|
foreach($hashtags as $hashtag) {
|
||||||
$count = DB::table('status_hashtags')->whereHashtagId($hashtag->id)->count();
|
$count = DB::table('status_hashtags')->whereHashtagId($hashtag->id)->count();
|
||||||
$hashtag->cached_count = $count;
|
$hashtag->cached_count = $count;
|
||||||
|
$hashtag->can_trend = true;
|
||||||
|
$hashtag->can_search = true;
|
||||||
$hashtag->save();
|
$hashtag->save();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue