Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create(config('queue.connections.database.table'), function (Blueprint $table) { |
||
17 | $table->bigIncrements('id'); |
||
18 | $table->string('queue')->index(); |
||
19 | $table->longText('payload'); |
||
20 | $table->unsignedTinyInteger('attempts'); |
||
21 | $table->unsignedInteger('reserved_at')->nullable(); |
||
22 | $table->unsignedInteger('available_at'); |
||
23 | $table->unsignedInteger('created_at'); |
||
24 | }); |
||
25 | } |
||
26 | |||
37 |
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.