| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function up(): void |
||
| 17 | { |
||
| 18 | Schema::create(config('rinvex.statistics.tables.data'), function (Blueprint $table) { |
||
| 19 | // Columns |
||
| 20 | $table->increments('id'); |
||
| 21 | $table->string('session_id'); |
||
| 22 | $table->nullableMorphs('user'); |
||
| 23 | $table->integer('status_code'); |
||
| 24 | $table->text('uri'); |
||
| 25 | $table->string('method'); |
||
| 26 | $table->{$this->jsonable()}('server'); |
||
| 27 | $table->{$this->jsonable()}('input')->nullable(); |
||
| 28 | $table->timestamp('created_at')->nullable(); |
||
| 29 | }); |
||
| 30 | } |
||
| 31 | |||
| 56 |