Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

CreateMenuItemsTable::up()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 16

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 16
rs 9.7333
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
use Illuminate\Database\Migrations\Migration;
4
use Illuminate\Database\Schema\Blueprint;
5
6
class CreateMenuItemsTable extends Migration
7
{
8
    /**
9
     * Run the migrations.
10
     *
11
     * @return void
12
     */
13
    public function up()
14
    {
15
        Schema::create('menu_items', function (Blueprint $table) {
16
            $table->increments('id');
17
            $table->string('name', 100);
18
            $table->string('type', 20)->nullable();
19
            $table->string('link', 255)->nullable();
20
            $table->integer('page_id')->unsigned()->nullable();
21
            $table->integer('parent_id')->unsigned()->nullable();
22
            $table->integer('lft')->unsigned()->nullable();
23
            $table->integer('rgt')->unsigned()->nullable();
24
            $table->integer('depth')->unsigned()->nullable();
25
            $table->timestamps();
26
            $table->softDeletes();
27
        });
28
    }
29
30
    /**
31
     * Reverse the migrations.
32
     *
33
     * @return void
34
     */
35
    public function down()
36
    {
37
        Schema::drop('menu_items');
38
    }
39
}
40