create_tests_table.php$0 ➔ up()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
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