You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated creature identifier field references in NPC, vendor, event, quest, and spawn data queries to ensure consistent data retrieval across the application.
Reviewing files that changed from the base of the PR and between 8e247b8 and 085c10f.
📒 Files selected for processing (9)
includes/game.php
includes/types/item.class.php
pages/event.php
pages/npc.php
pages/quest.php
setup/tools/sqlgen/pet.ss.php
setup/tools/sqlgen/source.ss.php
setup/tools/sqlgen/spawns.ss.php
setup/tools/sqlgen/taxi.ss.php
📝 Walkthrough
Walkthrough
All SQL queries across runtime page handlers (event.php, npc.php, quest.php), shared includes (game.php, item.class.php), and setup SQL generator scripts (spawns.ss.php, source.ss.php, pet.ss.php, taxi.ss.php) replace the creature.id1 column reference with creature.id in join conditions and select expressions. No logic, control flow, or public interfaces change.
Changes
creature.id1 → creature.id SQL Column Migration
Layer / File(s)
Summary
Runtime includes and page SQL fixes includes/game.php, includes/types/item.class.php, pages/event.php, pages/npc.php, pages/quest.php
SQL queries in Game::getWorldPosForGUID(), ItemList::getExtendedCost(), EventPage, NpcPage, and QuestPage switch join predicates and selected columns from creature.id1 to creature.id.
SQL generator scripts for pet spawns, item vendors, vehicle accessories, creature typeId, waypoints, and flightmaster entries replace creature.id1 join conditions with creature.id.
Estimated code review effort
🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
A bunny hopped through tables wide,
Found id1 lurking inside,
With one swift paw, changed every line,
Now id alone makes queries shine,
The database hops in perfect rhyme! 🐇
✨ Finishing Touches📝 Generate docstrings
Create stacked PR
Commit on current branch
🧪 Generate unit tests (beta)
Create PR with unit tests
Commit unit tests in branch align-creature-ac
Comment @coderabbitai help to get the list of available commands and usage tips.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
related of azerothcore/azerothcore-wotlk#25197
Summary by CodeRabbit