Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Forgot to update schema to work with Boosts properly
Summary
Always has a warnings in DB.php on every update.
[30-May-2024 02:00:33 UTC] PHP Warning: PDOStatement::execute(): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'chat_boost_updated_id' in 'field list' in /vendor/longman/telegram-bot/src/DB.php on line 404$raw_data = ['update_id' => 312745397, 'message' => [...]]; private $ {Longman\TelegramBot\Entities\Entity}fields = ['update_id' => 312745397, 'message' => [...]] }) /vendor/longman/telegram-bot/src/Telegram.php:568$raw_data = ['update_id' => 312745397, 'message' => [...]]; private $ {Longman\TelegramBot\Entities\Entity}fields = ['update_id' => 312745397, 'message' => [...]] }) /vendor/longman/telegram-bot/src/Telegram.php:655
[30-May-2024 02:00:33 UTC] PHP Stack trace:
[30-May-2024 02:00:33 UTC] PHP 1. {main}() /manager.php:0
[30-May-2024 02:00:33 UTC] PHP 2. TelegramBot\TelegramBotManager\BotManager->run() /manager.php:28
[30-May-2024 02:00:33 UTC] PHP 3. TelegramBot\TelegramBotManager\BotManager->handleRequest() /vendor/php-telegram-bot/telegram-bot-manager/src/BotManager.php:106
[30-May-2024 02:00:33 UTC] PHP 4. TelegramBot\TelegramBotManager\BotManager->handleWebhook() /vendor/php-telegram-bot/telegram-bot-manager/src/BotManager.php:266
[30-May-2024 02:00:33 UTC] PHP 5. Longman\TelegramBot\Telegram->handle() /vendor/php-telegram-bot/telegram-bot-manager/src/BotManager.php:418
[30-May-2024 02:00:33 UTC] PHP 6. Longman\TelegramBot\Telegram->processUpdate($update = class Longman\TelegramBot\Entities\Update { public $bot_username = 'some-bot'; public
[30-May-2024 02:00:33 UTC] PHP 7. Longman\TelegramBot\DB::insertRequest($update = class Longman\TelegramBot\Entities\Update { public $bot_username = 'some-bot'; public
[30-May-2024 02:00:33 UTC] PHP 8. Longman\TelegramBot\DB::insertTelegramUpdate($update_id = 312745397, $chat_id = -10000000000, $message_id = 000000, $edited_message_id = NULL, $channel_post_id = NULL, $edited_channel_post_id = NULL, $message_reaction_id = NULL, $message_reaction_count_id = NULL, $inline_query_id = NULL, $chosen_inline_result_id = NULL, $callback_query_id = NULL, $shipping_query_id = NULL, $pre_checkout_query_id = NULL, $poll_id = NULL, $poll_answer_poll_id = NULL, $my_chat_member_updated_id = NULL, $chat_member_updated_id = NULL, $chat_join_request_id = NULL, $chat_boost_updated_id = NULL, $chat_boost_removed_id = NULL) /vendor/longman/telegram-bot/src/DB.php:627
[30-May-2024 02:00:33 UTC] PHP 9. PDOStatement->execute() /vendor/longman/telegram-bot/src/DB.php:404
It seems just forgot to update schema