Core/Hotfixes: Add locales to hotfix_blob

Port From (https://github.com/TrinityCore/TrinityCore/commit/590f541019f7630f614110c60ce3653b17ca77e2)
This commit is contained in:
hondacrx
2020-07-15 14:22:14 -04:00
parent baa9ab6558
commit 2c9a8ea291
3 changed files with 39 additions and 11 deletions
@@ -0,0 +1,6 @@
ALTER TABLE `hotfix_blob`
ADD COLUMN `locale` VARCHAR(4) NOT NULL COLLATE 'utf8mb4_unicode_ci' AFTER `RecordId`,
DROP PRIMARY KEY,
ADD PRIMARY KEY (`TableHash`, `RecordId`, `locale`);
UPDATE `hotfix_blob` SET `locale` = "enUS";