fix(DB/QuestTracker): add index (#24803)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
parent
af7e91f9a9
commit
8b9cdfde13
1 changed files with 4 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
||||||
|
--
|
||||||
|
ALTER TABLE `quest_tracker`
|
||||||
|
MODIFY COLUMN `id` int UNSIGNED NOT NULL DEFAULT 0 FIRST,
|
||||||
|
ADD UNIQUE INDEX `idx_latest_quest_for_character`(`id`, `character_guid`, `quest_accept_time` DESC);
|
||||||
Loading…
Reference in a new issue