Completed
Pull Request — master (#372)
by Mike
31:01 queued 16:07
created

CreateProfiles::up()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11

Duplication

Lines 11
Ratio 100 %

Importance

Changes 0
Metric Value
dl 11
loc 11
rs 9.9
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
use Illuminate\Database\Schema\Blueprint;
4
use Illuminate\Database\Migrations\Migration;
5
6 View Code Duplication
class CreateProfiles extends Migration
7
{
8
    public function up()
9
    {
10
        Schema::create('profiles', function (Blueprint $table) {
11
            $table->increments('id');
12
            $table->unsignedInteger('author_id');
13
            $table->timestamps();
14
15
            $table->text('first_name');
16
            $table->text('last_name');
17
        });
18
    }
19
}
20