| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 12 |
| Lines | 15 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Bedard\Shop\Updates; |
||
| 9 | View Code Duplication | public function up() |
|
| 10 | { |
||
| 11 | Schema::create('bedard_shop_statuses', function (Blueprint $table) { |
||
| 12 | $table->engine = 'InnoDB'; |
||
| 13 | $table->increments('id'); |
||
| 14 | $table->string('name')->default('')->index(); |
||
| 15 | $table->string('color')->nullable(); |
||
| 16 | $table->string('icon')->nullable(); |
||
| 17 | $table->boolean('is_abandoned')->default(false); |
||
| 18 | $table->boolean('is_default')->default(false); |
||
| 19 | $table->boolean('is_reducing')->default(false); |
||
| 20 | $table->timestamps(); |
||
| 21 | $table->softDeletes(); |
||
| 22 | }); |
||
| 23 | } |
||
| 24 | |||
| 30 |