Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('workflow_guards', function (Blueprint $table) { |
||
17 | $table->increments('id'); |
||
18 | $table->uuid('uuid')->unique(); |
||
19 | $table->integer('workflow_id')->unsigned()->nullable(); |
||
20 | $table->integer('transition_id')->unsigned()->nullable(); |
||
21 | $table->integer('permission_id')->unsigned()->nullable(); |
||
22 | $table->string('label'); |
||
23 | $table->string('name'); |
||
24 | $table->softDeletes(); |
||
25 | $table->timestamps(); |
||
26 | }); |
||
27 | } |
||
28 | |||
39 |
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.