From 6bc434c918bb4b76a89495971a2dc3ebde77ff10 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 24 Aug 2018 15:15:40 +0930 Subject: [PATCH] Remove user_user table Since there is currently no core code that facilitates use of this table, we are removing it for now. It can be re-added in a subsequent PR. --- ...18_01_30_223700_create_user_user_table.php | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 migrations/2018_01_30_223700_create_user_user_table.php diff --git a/migrations/2018_01_30_223700_create_user_user_table.php b/migrations/2018_01_30_223700_create_user_user_table.php deleted file mode 100644 index 60c845ff6..000000000 --- a/migrations/2018_01_30_223700_create_user_user_table.php +++ /dev/null @@ -1,24 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Flarum\Database\Migration; -use Illuminate\Database\Schema\Blueprint; - -return Migration::createTable( - 'user_user', - function (Blueprint $table) { - $table->integer('user_id')->unsigned(); - $table->integer('other_user_id')->unsigned(); - - $table->foreign('user_id')->references('id')->on('posts')->onDelete('cascade'); - $table->foreign('other_user_id')->references('id')->on('users')->onDelete('cascade'); - } -);