| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function up() |
||
| 10 | { |
||
| 11 | Schema::create('admins', function(Blueprint $table) { |
||
| 12 | $table->increments('id'); |
||
| 13 | $table->uuid('uuid', 191)->unique(); |
||
| 14 | $table->integer('user_id')->unsigned()->nullable()->index(); |
||
| 15 | $table->integer('opd_id')->unsigned()->nullable()->index(); |
||
| 16 | $table->timestamps(); |
||
| 17 | $table->softDeletes(); |
||
| 18 | }); |
||
| 19 | } |
||
| 20 | |||
| 26 |
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.