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

Completed
Pull Request — master (#112)
by
unknown
27:56
created

CreatePagesTable::up()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 15

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 15
rs 9.7666
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 CreatePagesTable extends Migration
7
{
8
    /**
9
     * Run the migrations.
10
     *
11
     * @return void
12
     */
13
    public function up()
14
    {
15
        // TODO: use JSON data type for 'extras' instead of string
16
        Schema::create('pages', function (Blueprint $table) {
17
            $table->increments('id');
18
            $table->string('template');
19
            $table->string('name');
20
            $table->string('title');
21
            $table->string('slug');
22
            $table->text('content')->nullable();
23
            $table->text('extras')->nullable();
24
            $table->timestamps();
25
            $table->softDeletes();
26
        });
27
    }
28
29
    /**
30
     * Reverse the migrations.
31
     *
32
     * @return void
33
     */
34
    public function down()
35
    {
36
        Schema::drop('pages');
37
    }
38
}
39