Skip to content

Commit

Permalink
Merge pull request #1468 from r3bers/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
TiiFuchs authored May 30, 2024
2 parents e86aca6 + efbbd53 commit 8f9cd11
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions utils/db-schema-update/0.82.0-0.83.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,9 @@ ALTER TABLE `message`
ALTER TABLE `telegram_update`
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`,
ADD COLUMN `message_reaction_count_id` bigint UNSIGNED DEFAULT NULL COMMENT 'Reactions to a message with anonymous reactions were changed' AFTER `message_reaction_id`;

ALTER TABLE `telegram_update` ADD COLUMN `chat_boost_updated_id` BIGINT UNSIGNED NULL COMMENT 'A boost update the chat has been sent';
ALTER TABLE `telegram_update` ADD FOREIGN KEY (`chat_boost_updated_id`) REFERENCES `chat_boost_updated` (`id`);

ALTER TABLE `telegram_update` ADD COLUMN `chat_boost_removed_id` BIGINT UNSIGNED NULL COMMENT 'A boost remove from the chat has been sent';
ALTER TABLE `telegram_update` ADD FOREIGN KEY (`chat_boost_removed_id`) REFERENCES `chat_boost_removed` (`id`);

0 comments on commit 8f9cd11

Please sign in to comment.