| Conditions | 1 |
| Paths | 1 |
| Total Lines | 24 |
| Code Lines | 21 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function up() |
||
| 14 | { |
||
| 15 | Schema::create('data_akademiks', function(Blueprint $table) { |
||
| 16 | $table->increments('id'); |
||
| 17 | $table->integer('user_id'); |
||
| 18 | $table->string('nomor_un'); |
||
| 19 | $table->string('nomor_kk')->nullable(); |
||
| 20 | $table->string('nisn')->nullable(); |
||
| 21 | $table->string('nama_siswa'); |
||
| 22 | $table->decimal('bahasa_indonesia')->nullable(); |
||
| 23 | $table->decimal('bahasa_inggris')->nullable(); |
||
| 24 | $table->decimal('matematika')->nullable(); |
||
| 25 | $table->decimal('ipa')->nullable(); |
||
| 26 | $table->string('tempat_lahir')->nullable(); |
||
| 27 | $table->date('tanggal_lahir')->nullable(); |
||
| 28 | $table->string('jenis_kelamin')->nullable(); |
||
| 29 | $table->string('nama_ortu')->nullable(); |
||
| 30 | $table->string('alamat')->nullable(); |
||
| 31 | $table->string('npsn_asal_sekolah')->nullable(); |
||
| 32 | $table->string('asal_sekolah')->nullable(); |
||
| 33 | $table->timestamps(); |
||
| 34 | $table->softDeletes(); |
||
| 35 | }); |
||
| 36 | } |
||
| 37 | |||
| 48 |
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.