Added clarification to 'drop_bots.sql' notes for cases of failed script

This commit is contained in:
Uleat 2014-10-17 21:04:29 -04:00
parent 2db5dc2ed7
commit 223d06645d

View File

@ -5,6 +5,10 @@
-- There may still be remnants of bot activity in tables `guild_members` and -- There may still be remnants of bot activity in tables `guild_members` and
-- `group_id`. If these entries are causing issues, you may need to manually -- `group_id`. If these entries are causing issues, you may need to manually
-- remove them. -- remove them.
--
-- If this script fails due to a 'SQL Error (1068): Multiple primary key defined'
-- error, run this query: ALTER TABLE `guild_members` DROP PRIMARY KEY;
-- and it should remove the key so this script will process in its entirety.
ALTER TABLE `guild_members` ADD PRIMARY KEY (`char_id`); ALTER TABLE `guild_members` ADD PRIMARY KEY (`char_id`);