| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function up() |
||
| 16 | { |
||
| 17 | $this->getSchema()->create('user_providers', function($table) { |
||
| 18 | $table->increments('id'); |
||
| 19 | $table->string('user_id'); |
||
| 20 | $table->string('provider_name', 255); |
||
| 21 | $table->string('provider_id', 255); |
||
| 22 | $table->timestamps(); |
||
| 23 | }); |
||
| 24 | parent::up(); |
||
| 25 | } |
||
| 45 | } |
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.