mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 06:24:53 +08:00
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.
This commit is contained in:
parent
ccb1321dca
commit
8b2781829f
@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* 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');
|
||||
}
|
||||
);
|
Loading…
x
Reference in New Issue
Block a user