aowow/setup/sql/updates/v1.2/1527333495_01.sql
Sarjuuk 647be4a946 Setup/SQL
* move sql files into its own folder.
 * move outdated updates out of the update folder, sorted by github tags
 * split up the db dump so my editor doesn't try to hang itself if i dare to touch that file
2025-09-25 18:44:48 +02:00

8 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`);