Conditions | 1 |
Paths | 1 |
Total Lines | 26 |
Code Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 21 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 222 | public function up() |
|
26 | { |
||
27 | 222 | Schema::create( |
|
28 | 222 | 'field_integer', |
|
29 | function (Blueprint $table) { |
||
30 | 222 | $this->fieldTableFields($table); |
|
31 | 222 | $table->integer('value'); |
|
32 | 222 | } |
|
33 | 222 | ); |
|
34 | |||
35 | 222 | Schema::create( |
|
36 | 222 | 'field_double', |
|
37 | function (Blueprint $table) { |
||
38 | 222 | $this->fieldTableFields($table); |
|
39 | 222 | $table->double('value'); |
|
40 | 222 | } |
|
41 | 222 | ); |
|
42 | |||
43 | 222 | Schema::create( |
|
44 | 222 | 'field_boolean', |
|
45 | 222 | function (Blueprint $table) { |
|
46 | 222 | $this->fieldTableFields($table); |
|
47 | 222 | $table->boolean('value'); |
|
48 | 222 | } |
|
49 | 222 | ); |
|
50 | 222 | } |
|
51 | |||
64 |