fix(DB/QuestTracker): add index (#24803)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
sogladev 2026-02-24 01:47:49 +01:00 committed by GitHub
parent af7e91f9a9
commit 8b9cdfde13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);