From e11dbbd62d7fc16e08f7e1ad59af80a4b3283684 Mon Sep 17 00:00:00 2001
From: QAston <none@none>
Date: Mon, 22 Dec 2008 02:11:11 +0100
Subject: *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
---
 sql/updates/571_world.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 sql/updates/571_world.sql

(limited to 'sql/updates/571_world.sql')

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;
+
-- 
cgit v1.2.3

