diff options
author | Kinzcool <kinzzcool@hotmail.com> | 2015-06-30 15:22:24 -0400 |
---|---|---|
committer | Kinzcool <kinzzcool@hotmail.com> | 2015-06-30 15:22:24 -0400 |
commit | eced1ba8bd797c165aa0fa1a38e98585e763bac0 (patch) | |
tree | a458725fe267c7b398c17584227464c28e1e5cd4 | |
parent | 63d0a7359889ab879b937986082bbe6d5c3fc21d (diff) |
DB/Misc: Added a missing VerifiedBuild column to creature_questitem & gameobject_questitem
-rw-r--r-- | sql/updates/world/2015_06_30_00_world.sql | 5 |
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`; |