Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create(config('upload.table'), function (Blueprint $table) { |
||
17 | $table->increments('id')->unsigned(); |
||
18 | $table->string('mime'); |
||
19 | $table->string('path'); |
||
20 | $table->string('disk'); |
||
21 | $table->string('filename'); |
||
22 | $table->string('extension'); |
||
23 | $table->string('fingerprint')->unique()->nullable(); |
||
24 | $table->timestamps(); |
||
25 | }); |
||
26 | } |
||
27 | |||
38 |
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.