diff --git a/app/Transformer/ActivityPub/ProfileTransformer.php b/app/Transformer/ActivityPub/ProfileTransformer.php index 76d398ce1..29f53425c 100644 --- a/app/Transformer/ActivityPub/ProfileTransformer.php +++ b/app/Transformer/ActivityPub/ProfileTransformer.php @@ -23,14 +23,11 @@ class ProfileTransformer extends Fractal\TransformerAbstract 'followers' => $profile->permalink('/followers'), 'inbox' => $profile->permalink('/inbox'), 'outbox' => $profile->permalink('/outbox'), - //'featured' => $profile->permalink('/collections/featured'), 'preferredUsername' => $profile->username, 'name' => $profile->name, 'summary' => $profile->bio, 'url' => $profile->url(), 'manuallyApprovesFollowers' => (bool) $profile->is_private, - // 'follower_count' => $profile->followers()->count(), - // 'following_count' => $profile->following()->count(), 'publicKey' => [ 'id' => $profile->permalink().'#main-key', 'owner' => $profile->permalink(), diff --git a/database/migrations/2022_10_31_043257_add_actors_last_synced_at_to_instances_table.php b/database/migrations/2022_10_31_043257_add_actors_last_synced_at_to_instances_table.php new file mode 100644 index 000000000..3a0c309c6 --- /dev/null +++ b/database/migrations/2022_10_31_043257_add_actors_last_synced_at_to_instances_table.php @@ -0,0 +1,32 @@ +timestamp('actors_last_synced_at')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('instances', function (Blueprint $table) { + $table->dropColumn('actors_last_synced_at'); + }); + } +};