-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Dbc/Db): moved dbc tables to separate database #21091
base: master
Are you sure you want to change the base?
Conversation
CREATE TABLE `achievement_category_dbc` ( | ||
`ID` int NOT NULL DEFAULT '0', | ||
`Parent` int NOT NULL DEFAULT '0', | ||
`Name_Lang_enUS` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small thing, and likely out of scope to be fixed by this PR, but just a reminder that these locale columns are incorrectly named and do not reflect the actual locale order as seen in client distributions, can be seen in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I would prefer to consider this as separate PR. But from looking into it I found an issue with the Keira. I will look into it and make a PR there.
Of note is that |
I'm not sure spell_dbc should be moved elsewhere, it's not a "replacement" of the dbc file, but rather the storage of serverside spells |
IMO I think serverside spells should be split off into their own table, left in |
What I'm concerned about is the migration procedure for existing servers.
Something like this? Or am I making wrong assumptions here |
Given that the various DBC tables are meant only to act as overrides to existing DBC files, I'm curious if a connection to a DBC DB could be made optional. |
Some thoughts on this
The impact on the normal user must be as minimal as possible imo and should never require any manual steps from them to continue using AC after an update. |
Before this should continue any further, can you please elaborate on the advantages this pr would bring? If it's just "having less to scroll through in the database viewer" then the impact on the normal user would probably not be justifying this change. |
I see this as a data segregation issue. While the world data is exclusive to the server and might be modified during runtime the dbc data is shared with the client and read-only. Although "having less to scroll through" or as I say getting better overview is an important aspect for devs, as not everything can be done by just using Keira. Just viewing this from a normal user point of view might suggest to use a single database for everything as it would be easier. I agree on the migration issue and will look into it if the PR will be considered for a merge. |
Changes Proposed:
A proposal to move the dbc override tables from the world database to separate one.
This PR proposes changes to:
Issues Addressed:
SOURCE:
The changes have been validated through:
Tests Performed:
This PR has been:
How to Test the Changes:
Known Issues and TODO List:
How to Test AzerothCore PRs
When a PR is ready to be tested, it will be marked as [WAITING TO BE TESTED].
You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:
http://www.azerothcore.org/wiki/How-to-test-a-PR
REMEMBER: when testing a PR that changes something generic (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but especially check that the PR does not cause any regression (i.e. introducing new bugs).
For example: if a PR fixes spell X by changing a part of code that handles spells X, Y, and Z, we should not only test X, but we should test Y and Z as well.