Conditions | 1 |
Paths | 1 |
Total Lines | 27 |
Code Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('inventory_objects', function (Blueprint $table) { |
||
17 | |||
18 | $table->increments('id'); |
||
19 | $table->integer('id_public'); |
||
20 | $table->integer('id_extern'); |
||
21 | $table->string('tipus'); |
||
22 | $table->string('name'); |
||
23 | $table->string('description'); |
||
24 | $table->integer('parent_object_id'); |
||
25 | $table->integer('material_type_id'); |
||
26 | $table->integer('brand_id'); |
||
27 | $table->integer('model_id'); |
||
28 | $table->integer('location_id'); |
||
29 | $table->string('quantity'); |
||
30 | $table->string('price'); |
||
31 | $table->integer('money_source_id'); |
||
32 | $table->integer('provider_id'); |
||
33 | $table->string('preservation_state'); |
||
34 | $table->integer('study_id'); |
||
35 | $table->integer('mainOrganizationalUnitId'); |
||
36 | $table->userstamps(); |
||
37 | $table->timestamps(); |
||
38 | |||
39 | }); |
||
40 | } |
||
41 | |||
52 |
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.