public function up()
{
//
Schema::table('beatmap_discussion_posts', function ($table) {
$table->softDeletes();
$table->unsignedMediumInteger('deleted_by_id')->nullable();
$table->foreign('deleted_by_id')->references('user_id')->on('phpbb_users')->onDelete('SET NULL');
});
}