* handle duplicate names due to rename flags more gracefully * should fix infinite reload bug on newly renamed profies
8 lines
327 B
SQL
8 lines
327 B
SQL
-- clear synced chars to prevent conflicts
|
|
DELETE FROM `aowow_profiler_profiles` WHERE `realmGUID` IS NOT NULL;
|
|
-- clear queue
|
|
DELETE FROM `aowow_profiler_sync`;
|
|
-- update unique index
|
|
ALTER TABLE `aowow_profiler_profiles`
|
|
ADD COLUMN `renameItr` TINYINT UNSIGNED NOT NULL DEFAULT '0' AFTER `name`,
|
|
ADD INDEX `name` (`name`);
|