| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 14 | public function up() | ||
| 15 |     { | ||
| 16 |         $table_name = config('multi-tenant.table_name'); | ||
| 17 | |||
| 18 |         Schema::create($table_name, function (Blueprint $table) { | ||
| 19 |             $table->increments('id'); | ||
| 20 |             $table->integer('owner_id'); | ||
| 21 |             $table->string('name'); | ||
| 22 |             $table->string('slug')->index()->unique(); | ||
| 23 | $table->timestamps(); | ||
| 24 | }); | ||
| 25 | } | ||
| 26 | |||
| 39 | 
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.