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