CreateTestModelsTable   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A up() 0 10 1
1
<?php
2
use Illuminate\Database\Migrations\Migration;
3
use Illuminate\Database\Schema\Blueprint;
4
use Illuminate\Support\Facades\Schema;
5
6
7
class CreateTestModelsTable extends Migration
8
{
9
10
    public function up()
11
    {
12
        Schema::create('test_models', function (Blueprint $table){
13
            $table->increments('id');
14
            $table->string('name');
15
            $table->text('description');
16
            $table->text('properties');
17
            $table->timestamps();
18
        });
19
    }
20
21
}
22