Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function up() |
||
14 | { |
||
15 | Schema::create('sites', function (Blueprint $table) { |
||
16 | $table->increments('id'); |
||
17 | $table->string('title'); |
||
18 | $table->string('slogan'); |
||
19 | $table->string('description'); |
||
20 | $table->string('social_links'); |
||
21 | $table->string('favicons', 1000); |
||
22 | $table->string('keywords'); |
||
23 | $table->string('copyright'); |
||
24 | $table->tinyInteger('is_public_site'); |
||
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.