| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create('tracks', function (Blueprint $table) { |
||
| 17 | $table->increments('id'); |
||
| 18 | $table->string('driver'); |
||
| 19 | $table->integer('queue_id'); |
||
| 20 | $table->text('payload'); |
||
| 21 | $table->integer('attempts'); |
||
| 22 | $table->text('meta')->nullable(); |
||
| 23 | $table->timestamp('queue_at'); |
||
| 24 | $table->timestamp('process_at'); |
||
| 25 | $table->timestamp('succeed_at'); |
||
| 26 | $table->timestamp('failed_at'); |
||
| 27 | }); |
||
| 28 | } |
||
| 29 | |||
| 40 |
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.