Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('workflow_states', function (Blueprint $table) { |
||
17 | $table->increments('id')->comment("The id of state"); |
||
18 | $table->string('name',191)->unique()->comment("The name of state"); |
||
19 | $table->string('label',191)->comment("The label of state"); |
||
20 | $table->smallInteger('status')->default(0)->comment("The status of state"); |
||
21 | $table->timestamps(); |
||
22 | }); |
||
23 | } |
||
24 | |||
35 |
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.