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