anonymous//database/migrations/create_tests_table.php$0   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A create_tests_table.php$0 ➔ up() 0 5 1
1
<?php
2
3
namespace database\migrations;
4
5
use Luke\Schemas\Schema;
6
use Luke\Types\Blueprint;
7
8
return new class
9
{
10
    /**
11
     * Run the migrations.
12
     *
13
     * @return void
14
     */
15
    public function up()
16
    {
17
        Schema::create('tests', function (Blueprint $table) {
18
            $table->id();
19
            $table->timestamps();
20
        });
21
    }
22
23
};
24