server/sql/updates/12141_01_characters_character_currencies.sql
Salja 0c8d8c67d8 [12142] Fix Typo
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:20 +00:00

12 lines
604 B
SQL

ALTER TABLE character_db_version CHANGE COLUMN required_12138_01_characters_characters required_12141_01_characters_character_currencies bit;
DROP TABLE IF EXISTS `character_currencies`;
CREATE TABLE `character_currencies` (
`guid` int(11) unsigned NOT NULL DEFAULT '0',
`id` smallint(5) unsigned NOT NULL DEFAULT '0',
`totalCount` int(11) unsigned NOT NULL DEFAULT '0',
`weekCount` int(11) unsigned NOT NULL DEFAULT '0',
`seasonCount` int(11) unsigned NOT NULL DEFAULT '0',
`flags` tinyint(2) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;