Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
datitisev 2019-10-12 19:58:13 +00:00 committed by Daniël Klabbers
parent 7b6c666e7b
commit b83adbccfd

View File

@ -1,5 +1,14 @@
<?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 Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Schema\Builder;
@ -14,7 +23,6 @@ return [
})
->delete();
$schema->table('posts', function (Blueprint $table) {
$table->foreign('discussion_id')->references('id')->on('discussions')->onDelete('cascade');
});