mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 11:43:18 -04:00
- Only use configured PersistentFlags for character database cleaner to determine data saving behaviour during runtime, instead of all original flags set in worldstates. - Remove the forced deletion of abandoned quest entries in 10828_characters_character_queststatus.sql for those who do not want to lose that data. If you want to purge that data then run the core with CleanupFlags & 0x10. If you want to both purge the data now and prevent it from being saved in the future, run the core with CleanupFlags & 0x10 AND PersistentCleanupFlags & 0x10 --HG-- branch : trunk
12 lines
576 B
SQL
12 lines
576 B
SQL
DROP TABLE IF EXISTS `character_queststatus_rewarded`;
|
|
CREATE TABLE `character_queststatus_rewarded` (
|
|
`guid` int(10) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
|
|
`quest` int(10) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
|
|
PRIMARY KEY (`guid`,`quest`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
|
|
INSERT INTO character_queststatus_rewarded SELECT guid, quest FROM character_queststatus WHERE rewarded = 1;
|
|
DELETE FROM character_queststatus WHERE rewarded = 1;
|
|
|
|
ALTER TABLE character_queststatus DROP COLUMN rewarded;
|