aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorQAston <none@none>2008-12-22 02:11:11 +0100
committerQAston <none@none>2008-12-22 02:11:11 +0100
commite11dbbd62d7fc16e08f7e1ad59af80a4b3283684 (patch)
tree9bb3946f70182e3a825b0c697afa84263469c73c /sql/updates
parentf91989cf641cf2deb16243b387dd7554cd6104fa (diff)
*Remove 'first_spell' and 'rank' columns from table spell_chain
*Separate req_spell and spell_chain data to save some memory *Use spell_chain data generated from dbc instead of sql --HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/571_world.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/571_world.sql b/sql/updates/571_world.sql
new file mode 100644
index 00000000000..115c210306b
--- /dev/null
+++ b/sql/updates/571_world.sql
@@ -0,0 +1,5 @@
+ALTER TABLE spell_chain DROP COLUMN first_spell;
+ALTER TABLE spell_chain DROP COLUMN rank;
+ALTER TABLE spell_chain RENAME TO spell_required;
+DELETE FROM spell_required WHERE req_spell=0;
+