Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
10 | public function up() |
||
11 | { |
||
12 | Schema::create('pbj_tarifs', function(Blueprint $table) { |
||
13 | $table->increments('id'); |
||
14 | $table->string('uuid', 191)->unique(); |
||
15 | $table->string('uraian', 191)->unique(); |
||
16 | $table->boolean('tarif')->default(0); |
||
17 | $table->double('wilayah_kota'); |
||
18 | $table->double('wilayah_kabupaten'); |
||
19 | NestedSet::columns($table); |
||
20 | $table->string('satuan', 191)->index(); |
||
21 | $table->timestamps(); |
||
22 | $table->softDeletes(); |
||
23 | $table->integer('master_tarif_id')->unsigned()->nullable()->index(); |
||
24 | $table->integer('user_id')->unsigned()->nullable()->index(); |
||
25 | $table->integer('user_update')->unsigned()->nullable()->index(); |
||
26 | }); |
||
27 | } |
||
28 | |||
33 | } |
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.