Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function up() |
||
14 | { |
||
15 | Schema::create('nilais', function(Blueprint $table) { |
||
16 | $table->increments('id'); |
||
17 | $table->string('nomor_un'); |
||
18 | $table->integer('kegiatan_id')->nullable(); |
||
19 | $table->decimal('bobot')->nullable(); |
||
20 | $table->decimal('akademik')->nullable(); |
||
21 | $table->decimal('prestasi')->nullable(); |
||
22 | $table->decimal('zona')->nullable(); |
||
23 | $table->decimal('sktm')->nullable(); |
||
24 | $table->decimal('total')->nullable(); |
||
25 | $table->integer('user_id')->nullable(); |
||
26 | $table->timestamps(); |
||
27 | $table->softDeletes(); |
||
28 | }); |
||
29 | } |
||
30 | |||
41 |
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.