Passed
Push — tests ( 722676...5a1186 )
by Dallas
12:44
created

CreateFeatureTable3::up()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
use Illuminate\Database\Migrations\Migration;
6
use Illuminate\Database\Schema\Blueprint;
7
use Illuminate\Support\Facades\DB;
8
use Illuminate\Support\Facades\Schema;
9
10
class CreateFeatureTable3 extends Migration
11
{
12
    public function up(): void
13
    {
14
        DB::transaction(function () {
15
            Schema::create('feature_table3', function (Blueprint $table) {
16
                $table->bigIncrements('id');
17
            });
18
        });
19
    }
20
21
    public function down(): void
22
    {
23
        DB::transaction(function () {
24
            Schema::drop('feature_table3');
25
        });
26
    }
27
}
28