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

Test Setup Failed
Branch master (114f68)
by Mark
08:50
created

CreateNewsTable::up()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 20
Code Lines 18

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 18
nc 1
nop 0
dl 0
loc 20
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
use Illuminate\Database\Schema\Blueprint;
4
use Illuminate\Database\Migrations\Migration;
5
6
class CreateNewsTable extends Migration
7
{
8
    /**
9
     * Run the migrations.
10
     *
11
     * @return void
12
     */
13
    public function up()
14
    {
15
        \Schema::create('news', function (Blueprint $table) {
16
            $table->increments('id');
17
            $table->string('title');
18
            $table->string('slug');
19
            $table->longText('content');
20
            $table->unsignedInteger('category');
21
            $table->tinyInteger('publish');
22
            $table->timestamp('publish_date')->nullable();
23
            $table->timestamp('unpublish_date')->nullable();
24
            $table->timestamp('event_date')->nullable();
25
            $table->unsignedInteger('creator_id');
26
            $table->unsignedInteger('modified_id');
27
            $table->string('alt_text');
28
            $table->string('seo_title');
29
            $table->string('seo_keywords');
30
            $table->string('seo_description');
31
            $table->softDeletes();
32
            $table->timestamps();
33
        });
34
    }
35
36
    /**
37
     * Reverse the migrations.
38
     *
39
     * @return void
40
     */
41
    public function down()
42
    {
43
        \Schema::dropIfExists('news');
44
    }
45
}
46