Files
aowow/setup/updates/1521735363_02.sql
Sarjuuk 3fd25ca889 Profiler/Backend
* added core functions nessecary for profiler
2018-03-22 17:36:28 +01:00

17 lines
979 B
SQL

DELETE FROM aowow_config WHERE `key` LIKE 'profiler_%';
INSERT INTO aowow_config (`key`, `value`, `cat`, `flags`, `comment`) VALUES
('profiler_queue', 0, 7, 0x84, 'default: 0 - enable/disable profiler queue'),
('profiler_queue_delay', 3000, 7, 0x81, 'default: 3000 - min. delay between queue cycles (in ms)'),
('profiler_resync_ping', 5000, 7, 0x81, 'default: 5000 - how often the javascript asks for for updates, when queued (in ms)'),
('profiler_resync_delay', 1*60*60, 7, 0x81, 'default: 1*60*60 - how often a character can be refreshed (in sec)');
DROP TABLE IF EXISTS `aowow_characters`;
ALTER TABLE `aowow_talents`
ADD COLUMN `petTypeMask` TINYINT(3) UNSIGNED NOT NULL AFTER `class`;
ALTER TABLE `aowow_account`
ADD COLUMN `excludeGroups` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '1' COMMENT 'profiler - completion exclude bitmask' AFTER `description`;
UPDATE aowow_dbversion SET `sql` = CONCAT(IFNULL(`sql`, ''), ' talents');