aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-28 16:28:36 -0600
committermegamage <none@none>2009-03-28 16:28:36 -0600
commit6dff0bfd5e982398aa224737044fe5e11ba611b0 (patch)
treef58df4d936771186af25045585550675b12576b7 /sql/updates
parent1299521d50503866cca9c41df8c5a4b20297312c (diff)
[7560] Implement IconName for gameobject Author: NoFantasy
--HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/7558_01_mangos_mangos_string.sql2
-rw-r--r--sql/updates/7560_01_mangos_gameobject_template.sql4
2 files changed, 5 insertions, 1 deletions
diff --git a/sql/updates/7558_01_mangos_mangos_string.sql b/sql/updates/7558_01_mangos_mangos_string.sql
index 79012b791ad..c0b856a9814 100644
--- a/sql/updates/7558_01_mangos_mangos_string.sql
+++ b/sql/updates/7558_01_mangos_mangos_string.sql
@@ -1,6 +1,6 @@
ALTER TABLE db_version CHANGE COLUMN required_7544_01_mangos_uptime required_7558_01_mangos_mangos_string bit;
-DELETE FROM mangos_string WHERE entry IN (1123,1124,1125);
+DELETE FROM mangos_string WHERE entry IN (1123,1124,1125,1126,1127);
INSERT INTO mangos_string VALUES
(1123,'Not pet found',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(1124,'Wrong pet type',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
diff --git a/sql/updates/7560_01_mangos_gameobject_template.sql b/sql/updates/7560_01_mangos_gameobject_template.sql
new file mode 100644
index 00000000000..f980687c777
--- /dev/null
+++ b/sql/updates/7560_01_mangos_gameobject_template.sql
@@ -0,0 +1,4 @@
+ALTER TABLE db_version CHANGE COLUMN required_7558_02_mangos_command required_7560_01_mangos_gameobject_template bit;
+
+ALTER TABLE gameobject_template
+ ADD COLUMN IconName varchar(100) NOT NULL default '' AFTER name;