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

CarouselTableRecreated::down()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
rs 10
c 1
b 0
f 0
1
<?php
2
3
use Illuminate\Support\Facades\Schema;
4
use Illuminate\Database\Schema\Blueprint;
5
use Illuminate\Database\Migrations\Migration;
6
7
class CarouselTableRecreated extends Migration
8
{
9
    /**
10
     * Run the migrations.
11
     *
12
     * @return void
13
     */
14
    public function up()
15
    {
16
        Schema::drop('carousels');
17
18
        Schema::drop('carousel_slides');
19
20
        Schema::create('carousels', function (Blueprint $table) {
21
            $table->increments('id');
22
            $table->string('name');
23
            $table->integer('page_id');
24
25
            $table->integer('editor_id');
26
            $table->integer('creator_id');
27
28
            $table->softDeletes();
29
            $table->timestamps();
30
        });
31
32
        Schema::create('carousel_slides', function (Blueprint $table) {
33
            $table->increments('id');
34
            $table->string('title');
35
            $table->string('description')->nullable();
36
            $table->string('image_loc')->nullable();
37
38
            $table->integer('carousel_id')->nullable();
39
            $table->integer('order')->default(99);
40
41
            $table->string('link_type')->nullable();
42
            $table->string('link_url')->nullable();
43
            $table->string('link_target')->nullable();
44
45
            $table->integer('editor_id')->default(1);
46
            $table->integer('creator_id')->default(1);
47
48
            $table->softDeletes();
49
            $table->timestamps();
50
        });
51
    }
52
53
    /**
54
     * Reverse the migrations.
55
     *
56
     * @return void
57
     */
58
    public function down()
59
    {
60
        //
61
    }
62
}
63