| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Code Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function up() |
||
| 14 | { |
||
| 15 | Schema::create('sekolahs', function(Blueprint $table) { |
||
| 16 | $table->string('id'); |
||
| 17 | $table->string('nama'); |
||
| 18 | $table->string('npsn'); |
||
| 19 | $table->integer('jenis_sekolah_id')->nullable(); |
||
| 20 | $table->string('alamat'); |
||
| 21 | $table->string('logo')->nullable(); |
||
| 22 | $table->string('foto_gedung')->nullable(); |
||
| 23 | $table->string('province_id')->nullable(); |
||
| 24 | $table->string('city_id')->nullable(); |
||
| 25 | $table->string('district_id')->nullable(); |
||
| 26 | $table->string('village_id')->nullable(); |
||
| 27 | $table->string('no_telp'); |
||
| 28 | $table->string('email'); |
||
| 29 | $table->string('kode_zona')->nullable(); |
||
| 30 | $table->string('uuid')->nullable(); |
||
| 31 | $table->integer('user_id')->nullable(); |
||
| 32 | $table->timestamps(); |
||
| 33 | $table->softDeletes(); |
||
| 34 | }); |
||
| 35 | } |
||
| 36 | |||
| 47 |
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.