Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0991911

Browse files
Add missing DB column
1 parent 60873f9 commit 0991911

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎structure.sql‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ CREATE TABLE IF NOT EXISTS `message` (
110110
`id` bigint UNSIGNED COMMENT 'Unique message identifier',
111111
`message_thread_id` bigint(20) DEFAULT NULL COMMENT 'Unique identifier of a message thread to which the message belongs; for supergroups only',
112112
`user_id` bigint NULL COMMENT 'Unique user identifier',
113+
`sender_boost_count` bigint NULL COMMENT 'If the sender of the message boosted the chat, the number of boosts added by the user',
113114
`date` timestamp NULL DEFAULT NULL COMMENT 'Date the message was sent in timestamp format',
114115
`forward_from` bigint NULL DEFAULT NULL COMMENT 'Unique user identifier, sender of the original message',
115116
`forward_from_chat` bigint NULL DEFAULT NULL COMMENT 'Unique chat identifier, chat the original message belongs to',

‎utils/db-schema-update/0.82.0-unreleased.sql‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ ALTER TABLE `message`
6363
CHANGE COLUMN `user_shared` `users_shared` TEXT,
6464
ADD COLUMN `boost_added` TEXT NULL COMMENT 'Service message: user boosted the chat' AFTER `proximity_alert_triggered`,
6565
ADD COLUMN `quote` TEXT NULL DEFAULT NULL COMMENT 'Optional. For replies that quote part of the original message, the quoted part of the message' AFTER `external_reply`,
66-
ADD COLUMN `reply_to_story` TEXT NULL DEFAULT NULL COMMENT 'Optional. For replies to a story, the original story' AFTER `quote`;
66+
ADD COLUMN `reply_to_story` TEXT NULL DEFAULT NULL COMMENT 'Optional. For replies to a story, the original story' AFTER `quote`,
67+
ADD COLUMN `sender_boost_count` bigint NULL COMMENT 'If the sender of the message boosted the chat, the number of boosts added by the user' AFTER `user_id`;
6768

6869
ALTER TABLE `telegram_update`
6970
ADD COLUMN `message_reaction_id` bigint UNSIGNED DEFAULT NULL COMMENT 'A reaction to a message was changed by a user' AFTER `edited_channel_post_id`,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /