aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorQAston <none@none>2010-01-29 19:08:42 +0100
committerQAston <none@none>2010-01-29 19:08:42 +0100
commit785cb86c6a145b99d8aa2cfb075a7e1a93dbcd70 (patch)
treed2412abc8aa60c595c8f9695c125d17cebe08e3c /sql
parent94e5e3970e93fd8726e58697722a1a814211adf0 (diff)
*Fix build with GCC, thanks to Brian.
--HG-- branch : trunk rename : sql/updates/7234_world_spell_ranks.sql => sql/updates/7236_world_spell_ranks.sql
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/7236_world_spell_ranks.sql (renamed from sql/updates/7234_world_spell_ranks.sql)9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/7234_world_spell_ranks.sql b/sql/updates/7236_world_spell_ranks.sql
index ee69cb2d51c..be09c258163 100644
--- a/sql/updates/7234_world_spell_ranks.sql
+++ b/sql/updates/7236_world_spell_ranks.sql
@@ -1,3 +1,12 @@
+DROP TABLE IF EXISTS `spell_ranks`;
+CREATE TABLE `spell_ranks` (
+ `first_spell_id` INT UNSIGNED NOT NULL DEFAULT 0,
+ `spell_id` INT UNSIGNED NOT NULL DEFAULT 0,
+ `rank` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ PRIMARY KEY (`first_spell_id`, `rank`),
+ UNIQUE (`spell_id`)
+) ENGINE=MYISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell Rank Data';
+
INSERT INTO spell_ranks (`first_spell_id`, `spell_id`, `rank`) VALUES
-- Abomination's Might
(53137, 53137, 1),