Page MenuHomePhabricator (Chris)

0.62.0-0.63.0.sql
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

0.62.0-0.63.0.sql

ALTER TABLE `poll` ADD COLUMN `explanation` varchar(255) DEFAULT NULL COMMENT 'Text that is shown when a user chooses an incorrect answer or taps on the lamp icon in a quiz-style poll, 0-200 characters' AFTER `correct_option_id`;
ALTER TABLE `poll` ADD COLUMN `explanation_entities` text DEFAULT NULL COMMENT 'Special entities like usernames, URLs, bot commands, etc. that appear in the explanation' AFTER `explanation`;
ALTER TABLE `poll` ADD COLUMN `open_period` int UNSIGNED DEFAULT NULL COMMENT 'Amount of time in seconds the poll will be active after creation' AFTER `explanation_entities`;
ALTER TABLE `poll` ADD COLUMN `close_date` timestamp NULL DEFAULT NULL COMMENT 'Point in time (Unix timestamp) when the poll will be automatically closed' AFTER `open_period`;
ALTER TABLE `poll_answer` DROP PRIMARY KEY, ADD PRIMARY KEY (`poll_id`, `user_id`);
ALTER TABLE `message`
DROP FOREIGN KEY IF EXISTS `message_ibfk_6`,
DROP INDEX IF EXISTS `message_ibfk_6`;
ALTER TABLE `message`
ADD COLUMN `via_bot` bigint NULL DEFAULT NULL COMMENT 'Optional. Bot through which the message was sent' AFTER `reply_to_message`,
ADD KEY `via_bot` (`via_bot`),
ADD FOREIGN KEY (`via_bot`) REFERENCES `user` (`id`);

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 14, 7:11 PM (18 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
115293
Default Alt Text
0.62.0-0.63.0.sql (1 KB)

Event Timeline