mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
[Core/Currency] drop conquestPoints and totalHonorPoints columns with porting data to new table.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- porting from characters table
|
||||
insert into `character_currency` (`guid`, `currency`, `total_count`, `week_count`) SELECT characters.guid, 392, characters.totalHonorPoints, 0 FROM characters WHERE characters.totalHonorPoints > 0;
|
||||
insert into `character_currency` (`guid`, `currency`, `total_count`, `week_count`) SELECT characters.guid, 390, characters.conquestPoints, 0 FROM characters WHERE characters.conquestPoints > 0;
|
||||
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `characters` DROP `conquestPoints`;
|
||||
ALTER TABLE `characters` DROP `totalHonorPoints`;
|
||||
Reference in New Issue
Block a user