mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
Fix sql changelog (#57972)
Fixed bad SQL that I originally wrote in the changelog for 5.11, anyone trying to update their schema from < 5.11 up would notice this.
This commit is contained in:
@@ -17,14 +17,15 @@ ALTER TABLE `messages` ADD `playtime` INT(11) NULL DEFAULT(NULL) AFTER `severity
|
||||
|
||||
-----------------------------------------------------
|
||||
|
||||
Version 5.11, 7 September 2020, by bobbahbrown, MrStonedOne, and Jordie0608
|
||||
Version 5.11, 7 September 2020, by bobbahbrown, MrStonedOne, and Jordie0608 (Updated 26 March 2021 by bobbahbrown)
|
||||
|
||||
Adds indices to support search operations on the adminhelp ticket tables. This is to support improved performance on Atlanta Ned's Statbus.
|
||||
|
||||
CREATE INDEX `idx_ticket_act_recip` (`action`, `recipient`)
|
||||
CREATE INDEX `idx_ticket_act_send` (`action`, `sender`)
|
||||
CREATE INDEX `idx_ticket_tic_rid` (`ticket`, `round_id`)
|
||||
CREATE INDEX `idx_ticket_act_time_rid` (`action`, `timestamp`, `round_id`)
|
||||
ALTER TABLE `ticket`
|
||||
ADD INDEX `idx_ticket_act_recip` (`action`, `recipient`),
|
||||
ADD INDEX `idx_ticket_act_send` (`action`, `sender`),
|
||||
ADD INDEX `idx_ticket_tic_rid` (`ticket`, `round_id`),
|
||||
ADD INDEX `idx_ticket_act_time_rid` (`action`, `timestamp`, `round_id`);
|
||||
|
||||
-----------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user