From 3e9b75545dfd3f2cedc2d76ad0f465cf05276ed4 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 25 Oct 2018 18:11:14 -0600 Subject: [PATCH] Add migration for federation --- ...2018_10_25_030944_update_profile_table.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2018_10_25_030944_update_profile_table.php diff --git a/database/migrations/2018_10_25_030944_update_profile_table.php b/database/migrations/2018_10_25_030944_update_profile_table.php new file mode 100644 index 000000000..a2f40453f --- /dev/null +++ b/database/migrations/2018_10_25_030944_update_profile_table.php @@ -0,0 +1,32 @@ +string('key_id')->nullable()->unique()->index()->after('outbox_url'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('profiles', function (Blueprint $table) { + $table->dropColumn('key_id'); + }); + } +}