aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorcyberbrest <cyberbrest@cyberbrest.com>2012-09-03 22:27:18 +0300
committercyberbrest <cyberbrest@cyberbrest.com>2012-09-03 22:55:13 +0300
commit0c40fb0fe9a28400e8639145800224c9a9c1de48 (patch)
tree2eba4fc79e7f0529eae6e16057316ca221c6c37c /sql
parente9a3d3876943610641904caad624517977eb8aec (diff)
[Core/Currency] save all currencies on special db table.
+ fix initialization currencies.
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/characters/2012_09_03_00_characters_currency.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/characters/2012_09_03_00_characters_currency.sql b/sql/updates/characters/2012_09_03_00_characters_currency.sql
new file mode 100644
index 00000000000..84c5690f1ac
--- /dev/null
+++ b/sql/updates/characters/2012_09_03_00_characters_currency.sql
@@ -0,0 +1,8 @@
+DROP TABLE IF EXISTS `character_currency`;
+CREATE TABLE `character_currency` (
+ `guid` int(11) unsigned NOT NULL,
+ `currency` smallint(5) unsigned NOT NULL,
+ `total_count` int(11) unsigned NOT NULL,
+ `week_count` int(11) unsigned NOT NULL,
+ PRIMARY KEY (`guid`,`currency`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8; \ No newline at end of file