aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorQAston <none@none>2010-01-30 19:25:04 +0100
committerQAston <none@none>2010-01-30 19:25:04 +0100
commita331b67244f00ad9d4e1369f3a519e2877e5d31c (patch)
tree9f6d176681ba8e4d53384a0835513d10ba7bc083 /sql/updates
parent6b9914f0d7e55e3fdce1d9eefcc8bb857f922016 (diff)
*Add error checks at spell_required table loading
*Allow spell_required table to store more than 1 spell learn requirement for a spell *spell_required table data is removed from world.sql and since this commit the data for it should be maintained by db project you're using. --HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/7261_world_spell_required.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/updates/7261_world_spell_required.sql b/sql/updates/7261_world_spell_required.sql
new file mode 100644
index 00000000000..820a95adca5
--- /dev/null
+++ b/sql/updates/7261_world_spell_required.sql
@@ -0,0 +1,3 @@
+ALTER TABLE spell_required
+DROP PRIMARY KEY,
+ADD PRIMARY KEY (`spell_id`, `req_spell`);