| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | public function up() |
||
| 9 | { |
||
| 10 | Schema::create('host_keys', function(Blueprint $table) { |
||
| 11 | $table->increments('id'); |
||
| 12 | $table->timestamps(); |
||
| 13 | $table->softDeletes(); |
||
| 14 | $table->string('hostname', 255)->unique(); |
||
| 15 | $table->string('keys', 255)->unique(); |
||
| 16 | $table->string('state', 255); |
||
| 17 | $table->string('transition', 255); |
||
| 18 | $table->integer('user_id')->unsigned()->index(); |
||
| 19 | }); |
||
| 20 | } |
||
| 21 | |||
| 27 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.