Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function up(): void |
||
12 | { |
||
13 | Schema::create('chosen_inline_result', static function (Blueprint $table) { |
||
14 | $table->bigInteger('id', true)->unsigned()->comment('Unique identifier for this entry'); |
||
15 | $table->char('result_id')->default('')->comment('Identifier for this result'); |
||
16 | $table->bigInteger('user_id')->nullable()->index('user_id')->comment('Unique user identifier'); |
||
17 | $table->char('location')->nullable()->comment('Location object, user\'s location'); |
||
18 | $table->char('inline_message_id')->nullable()->comment('Identifier of the sent inline message'); |
||
19 | $table->text('query')->comment('The query that was used to obtain the result'); |
||
20 | $table->dateTime('created_at')->nullable()->comment('Entry date creation'); |
||
21 | }); |
||
29 |