| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 12 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace VojtaSvoboda\Reservations\Updates; |
||
| 9 | public function up() |
||
| 10 | { |
||
| 11 | 27 | Schema::create('vojtasvoboda_reservations_statuses', function(Blueprint $table) |
|
| 12 | { |
||
| 13 | 27 | $table->engine = 'InnoDB'; |
|
| 14 | 27 | $table->increments('id'); |
|
| 15 | |||
| 16 | 27 | $table->string('name', 300); |
|
| 17 | 27 | $table->string('ident', 300); |
|
| 18 | 27 | $table->char('color', 7)->nullable(); |
|
| 19 | 27 | $table->boolean('enabled')->default(true); |
|
| 20 | 27 | $table->boolean('sort_order')->nullable(); |
|
| 21 | |||
| 22 | 27 | $table->timestamps(); |
|
| 23 | 27 | $table->softDeletes(); |
|
| 24 | 27 | }); |
|
| 25 | 27 | } |
|
| 26 | |||
| 32 |