From 3c3e0bef6458cdfbb28f289db6a59ec05a1c593e Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 2 Jun 2022 23:44:28 -0600 Subject: [PATCH] Add migration --- ...object_column_to_follow_requests_table.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 database/migrations/2022_06_03_051308_add_object_column_to_follow_requests_table.php 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'); + }); + } +}