BAndysc / BAndysc/WoWDatabaseEditor

Reverting foreign table column in database editor doesn't generate correct query

Open
#63 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
564
Forks
169
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Reverting foreign table column in database editor doesn't generate correct query

It tries to execute:
```
UPDATE creature_template SET `emote` = 0 WHERE `entry` = 28357;
```

instead of `creature_template_addon`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the revert in the database editor using a foreign-table column such as emote, then trace the query-generation path for the shown UPDATE statement. Verify that reverting the column targets creature_template_addon rather than creature_template, and confirm the generated query before execution.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
database, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.