aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorRat <gmstreetrat@gmail.com>2015-04-06 19:49:39 +0200
committerRat <gmstreetrat@gmail.com>2015-04-06 19:49:39 +0200
commite248d5a4062a83e1016bcd646073992f20fac291 (patch)
treec4edcd6ab52b4d8512a37252101bb96c2795b42a /sql
parente7000a49ecd5b90e84563f6bf8a693e22ab93b06 (diff)
Core/DataBase: implemented creature_questitem and gameobject_questitem tables
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2015_04_06_01_world.sql15
1 files changed, 15 insertions, 0 deletions
diff --git a/sql/updates/world/2015_04_06_01_world.sql b/sql/updates/world/2015_04_06_01_world.sql
new file mode 100644
index 00000000000..a47def6c50c
--- /dev/null
+++ b/sql/updates/world/2015_04_06_01_world.sql
@@ -0,0 +1,15 @@
+DROP TABLE IF EXISTS `creature_questitem`;
+CREATE TABLE `creature_questitem` (
+ `CreatureEntry` int(10) unsigned NOT NULL DEFAULT '0',
+ `Idx` int(10) unsigned NOT NULL DEFAULT '0',
+ `ItemId` int(10) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`CreatureEntry`,`Idx`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `gameobject_questitem`;
+CREATE TABLE `gameobject_questitem` (
+ `GameObjectEntry` int(10) unsigned NOT NULL DEFAULT '0',
+ `Idx` int(10) unsigned NOT NULL DEFAULT '0',
+ `ItemId` int(10) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`GameObjectEntry`,`Idx`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8; \ No newline at end of file