| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function up(): void |
||
| 12 | { |
||
| 13 | Schema::create('telegram_update', static function (Blueprint $table) { |
||
| 14 | $table->bigInteger('id')->unsigned()->primary()->comment('Update\'s unique identifier'); |
||
| 15 | $table->bigInteger('chat_id')->nullable()->comment('Unique chat identifier'); |
||
| 16 | $table->bigInteger('message_id')->unsigned()->nullable()->comment('Unique message identifier'); |
||
| 17 | $table->bigInteger('inline_query_id')->unsigned()->nullable()->index('inline_query_id')->comment('Unique inline query identifier'); |
||
| 18 | $table->bigInteger('chosen_inline_result_id')->unsigned()->nullable()->index('chosen_inline_result_id')->comment('Local chosen inline result identifier'); |
||
| 19 | $table->bigInteger('callback_query_id')->unsigned()->nullable()->index('callback_query_id')->comment('Unique callback query identifier'); |
||
| 20 | $table->bigInteger('edited_message_id')->unsigned()->nullable()->index('edited_message_id')->comment('Local edited message identifier'); |
||
| 21 | $table->index(['chat_id', 'message_id'], 'message_id'); |
||
| 22 | }); |
||
| 30 |