| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create('menu_items', function (Blueprint $table) { |
||
| 17 | $table->increments('id'); |
||
| 18 | $table->integer('menu_id'); |
||
| 19 | $table->string('title'); |
||
| 20 | $table->string('slug'); |
||
| 21 | $table->string('url')->nullable(); |
||
| 22 | $table->string('target')->default('_self'); |
||
| 23 | $table->integer('parent_id')->unsigned()->nullable(); |
||
| 24 | $table->integer('order')->unsigned()->default(0); |
||
| 25 | $table->string('route')->nullable(); |
||
| 26 | $table->text('params')->nullable(); |
||
| 27 | $table->string('controller')->nullable(); |
||
| 28 | $table->string('middleware')->nullable(); |
||
| 29 | $table->string('icon')->nullable(); |
||
| 30 | $table->string('custom_class')->nullable(); |
||
| 31 | $table->timestamps(); |
||
| 32 | }); |
||
| 45 |