Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create(config('queue.failed.table'), function (Blueprint $table) { |
||
17 | $table->bigIncrements('id'); |
||
18 | $table->text('connection'); |
||
19 | $table->text('queue'); |
||
20 | $table->longText('payload'); |
||
21 | $table->longText('exception'); |
||
22 | $table->timestamp('failed_at')->useCurrent(); |
||
23 | }); |
||
24 | } |
||
25 | |||
36 |
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.