| 1 | <?php |
||
| 7 | class CreateVisitorRequestsTable extends Migration |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Run the migrations. |
||
| 11 | * |
||
| 12 | * @return void |
||
| 13 | */ |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create( |
||
| 17 | 'visitor_requests', |
||
| 18 | function (Blueprint $table) { |
||
| 19 | $table->increments('id'); |
||
| 20 | $table->unsignedInteger('visitor_id'); |
||
| 21 | $table->string('domain')->nullable(); |
||
| 22 | $table->string('method')->nullable(); |
||
| 23 | $table->string('path')->nullable(); |
||
| 24 | $table->string('route')->nullable(); |
||
| 25 | $table->string('referer')->nullable(); |
||
| 26 | $table->boolean('is_secure')->default(false); |
||
| 27 | $table->boolean('is_ajax')->default(false); |
||
| 28 | $table->timestamps(); |
||
| 29 | |||
| 30 | $table->foreign('visitor_id') |
||
| 31 | ->references('id') |
||
| 32 | ->on('visitors') |
||
| 33 | ->onDelete('cascade'); |
||
| 34 | } |
||
| 35 | ); |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Reverse the migrations. |
||
| 40 | * |
||
| 41 | * @return void |
||
| 42 | */ |
||
| 43 | public function down() |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths