| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function up() |
||
| 17 | { |
||
| 18 | Schema::create('api_keys', function(Blueprint $table) { |
||
| 19 | $table->increments('id'); |
||
| 20 | $table->timestamps(); |
||
| 21 | $table->softDeletes(); |
||
| 22 | $table->integer('user_id'); |
||
| 23 | $table->string('client', 225); |
||
| 24 | $table->string('api_key', 255); |
||
| 25 | $table->text('description'); |
||
| 26 | $table->integer('is_published')->default('1'); |
||
| 27 | }); |
||
| 28 | } |
||
| 29 | |||
| 35 |
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.