diff --git a/database/migrations/2022_06_03_051308_add_object_column_to_follow_requests_table.php b/database/migrations/2022_06_03_051308_add_object_column_to_follow_requests_table.php new file mode 100644 index 000000000..64f46151d --- /dev/null +++ b/database/migrations/2022_06_03_051308_add_object_column_to_follow_requests_table.php @@ -0,0 +1,34 @@ +json('activity')->nullable()->after('following_id'); + $table->timestamp('handled_at')->nullable()->after('is_local'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('follow_requests', function (Blueprint $table) { + $table->dropColumn('activity'); + $table->dropColumn('handled_at'); + }); + } +}