Completed
Push — master ( c5c126...29bff4 )
by Edson
01:37
created

UserSchema::down()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Bonfim\ActiveRecord\Examples\Database\Migrations;
4
5
use Bonfim\ActiveRecord\Schema;
6
use Bonfim\ActiveRecord\Table;
7
8
class UserSchema extends Schema
9
{
10
    public function up()
11
    {
12
        $this->create('users', function (Table $table) {
13
            $table->increments();
14
//                ->unsigned();
15
            $table->string('name')->notNull();
16
        });
17
    }
18
19
    public function down()
20
    {
21
    }
22
}
23