Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function up() |
||
32 | { |
||
33 | $this->createSchema(function (Blueprint $table) { |
||
34 | $table->bigIncrements('id'); |
||
35 | $table->unsignedBigInteger('visitor_id')->index(); |
||
36 | $table->unsignedBigInteger('path_id')->nullable()->index(); |
||
37 | $table->unsignedBigInteger('query_id')->nullable()->index(); |
||
38 | $table->unsignedBigInteger('referrer_id')->nullable()->index(); |
||
39 | $table->unsignedBigInteger('route_path_id')->nullable()->index(); |
||
40 | $table->unsignedBigInteger('error_id')->nullable()->index(); |
||
41 | $table->string('method', 10)->index(); |
||
42 | $table->boolean('is_ajax')->default(false); |
||
43 | $table->boolean('is_secure')->default(false); |
||
44 | $table->boolean('is_json')->default(false); |
||
45 | $table->boolean('wants_json')->default(false); |
||
46 | $table->timestamp('created_at')->index(); |
||
47 | $table->timestamp('updated_at')->index(); |
||
48 | }); |
||
49 | } |
||
50 | } |
||
51 |