aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2011-09-28 23:42:52 +0100
committerNay <dnpd.dd@gmail.com>2011-09-28 23:42:52 +0100
commitb492e5e38f0a1c9f55e295c7a75bfe57fe2b7a2b (patch)
tree1922d880d0980c5b44161f5207f24156c310a9fa
parente579703e88a4a4635f2de5a114c0e67793f45697 (diff)
DB/Events: Allow linking a guid to more than one event (changes game_event_creature/gameobject PKs)
-rw-r--r--sql/updates/world/2011_09_28_02_world_game_event.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/updates/world/2011_09_28_02_world_game_event.sql b/sql/updates/world/2011_09_28_02_world_game_event.sql
new file mode 100644
index 00000000000..3e211e26119
--- /dev/null
+++ b/sql/updates/world/2011_09_28_02_world_game_event.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `game_event_creature` DROP PRIMARY KEY, ADD PRIMARY KEY (`guid`,`eventEntry`);
+ALTER TABLE `game_event_gameobject` DROP PRIMARY KEY, ADD PRIMARY KEY (`guid`,`eventEntry`);