From 14c77ebc1ce3b6f1c9426f31a59355756e63c38d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20L=C3=BCscher?= Date: Fri, 24 May 2024 22:26:06 +0200 Subject: [PATCH] Use pre MariaDB 10.5 way of renaming column, for backwards compatibility --- utils/db-schema-update/0.82.0-unreleased.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/db-schema-update/0.82.0-unreleased.sql b/utils/db-schema-update/0.82.0-unreleased.sql index ca6aafde..3fb04f37 100644 --- a/utils/db-schema-update/0.82.0-unreleased.sql +++ b/utils/db-schema-update/0.82.0-unreleased.sql @@ -60,7 +60,7 @@ CREATE TABLE IF NOT EXISTS `chat_boost_removed` ( ALTER TABLE `message` ADD COLUMN `external_reply` TEXT NULL DEFAULT NULL COMMENT 'Optional. Information about the message that is being replied to, which may come from another chat or forum topic' AFTER `reply_to_message`, ADD COLUMN `link_preview_options` TEXT NULL DEFAULT NULL COMMENT 'Optional. Options used for link preview generation for the message, if it is a text message and link preview options were changed' AFTER `via_bot`, - RENAME COLUMN `user_shared` TO `users_shared`; + CHANGE COLUMN `user_shared` `users_shared` TEXT; 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`,