[Core/Currency] drop conquestPoints and totalHonorPoints columns with porting data to new table.

This commit is contained in:
cyberbrest
2012-09-03 22:51:13 +03:00
parent 0c40fb0fe9
commit dcfaf07054
5 changed files with 28 additions and 29 deletions

View File

@@ -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;

View File

@@ -0,0 +1,2 @@
ALTER TABLE `characters` DROP `conquestPoints`;
ALTER TABLE `characters` DROP `totalHonorPoints`;