| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function up() |
||
| 18 | { |
||
| 19 | Schema::create('user_migrations', function (Blueprint $table) { |
||
| 20 | $table->increments('id'); |
||
| 21 | $table->string('source_user_id')->unsigned()->nullable(); |
||
| 22 | $table->json('source_user'); |
||
| 23 | $table->boolean('done')->default(true); |
||
| 24 | $table->integer('user_id')->unsigned()->nullable(); |
||
| 25 | $table->integer('user_migrations_batch_id')->unsigned()->nullable(); |
||
| 26 | $table->timestamps(); |
||
| 27 | }); |
||
| 28 | } |
||
| 29 | |||
| 40 |
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.