Files
aowow/setup/updates/1527333495_01.sql
Sarjuuk c5d28a9bbc Profiler/Chars
* prefix characters flagged for rename to prevent collision with real char names (multiple chars flagged for rename will still collide, but what the hoo haa)
 * alter table index to prevent creation and subsequent conflict with duplicate entries of the same char (realm/guid pair)
2018-05-26 13:29:23 +02:00

9 lines
325 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`
DROP INDEX `realm_realmGUID_name`,
ADD UNIQUE INDEX `realm_realmGUID` (`realm`, `realmGUID`);