File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
1111### Deprecated
1212### Removed
1313### Fixed
14+ - Correct SQL migration script for older versions of MySQL.
1415### Security
1516
1617## [ 0.63.1] - 2020-06-24
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ ALTER TABLE `poll` ADD COLUMN `close_date` timestamp NULL DEFAULT NULL COMMENT '
55
66ALTER TABLE ` poll_answer` DROP PRIMARY KEY , ADD PRIMARY KEY (` poll_id` , ` user_id` );
77
8- ALTER TABLE ` message` DROP CONSTRAINT ` message_ibfk_6` ;
8+ ALTER TABLE ` message`
9+ DROP FOREIGN KEY IF EXISTS ` message_ibfk_6` ,
10+ DROP INDEX IF EXISTS ` message_ibfk_6` ;
11+
912ALTER TABLE ` message`
1013 ADD COLUMN ` via_bot` bigint NULL DEFAULT NULL COMMENT ' Optional. Bot through which the message was sent' AFTER ` reply_to_message` ,
1114 ADD KEY ` via_bot` (` via_bot` ),
You can’t perform that action at this time.
0 commit comments