| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function up() |
||
| 18 | { |
||
| 19 | Schema::create('pelanan_kesehatan', function (Blueprint $table) { |
||
| 20 | //$table->increments('id'); |
||
| 21 | $table->uuid('id')->unique(); |
||
| 22 | $table->primary('id'); |
||
| 23 | $table->string('kunker')->index(); |
||
| 24 | $table->string('name'); |
||
| 25 | $table->string('kunker_sinjab')->nullable(); |
||
| 26 | $table->string('kunker_simral')->nullable(); |
||
| 27 | $table->integer('levelunker'); |
||
| 28 | $table->string('njab'); |
||
| 29 | $table->string('npej'); |
||
| 30 | NestedSet::columns($table); |
||
| 31 | $table->timestamps(); |
||
| 32 | }); |
||
| 33 | } |
||
| 34 | |||
| 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.