aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/2015_06_30_00_world.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/2015_06_30_00_world.sql b/sql/updates/world/2015_06_30_00_world.sql
new file mode 100644
index 00000000000..59dae05bfd1
--- /dev/null
+++ b/sql/updates/world/2015_06_30_00_world.sql
@@ -0,0 +1,5 @@
+ALTER TABLE `creature_questitem` ADD COLUMN `VerifiedBuild` SMALLINT(5) NOT NULL DEFAULT '0';
+ALTER TABLE `gameobject_questitem` ADD COLUMN `VerifiedBuild` SMALLINT(5) NOT NULL DEFAULT '0';
+
+UPDATE `creature_questitem` A INNER JOIN `creature_template` B ON A.`CreatureEntry`=B.`entry` SET A.`VerifiedBuild`=B.`VerifiedBuild`;
+UPDATE `gameobject_questitem` A INNER JOIN `gameobject_template` B ON A.`GameObjectEntry`=B.`entry` SET A.`VerifiedBuild`=B.`VerifiedBuild`;