mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* 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)
9 lines
325 B
SQL
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`);
|