aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/base/world_database.sql1
-rw-r--r--sql/updates/9010_world_spell_scripts.sql1
2 files changed, 2 insertions, 0 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index bdca525e3e1..8b5f03706a8 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -7339,6 +7339,7 @@ DROP TABLE IF EXISTS `spell_scripts`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `spell_scripts` (
`id` mediumint(8) unsigned NOT NULL DEFAULT '0',
+ `effIndex` tinyint(3) unsigned NOT NULL DEFAULT '0',
`delay` int(10) unsigned NOT NULL DEFAULT '0',
`command` mediumint(8) unsigned NOT NULL DEFAULT '0',
`datalong` mediumint(8) unsigned NOT NULL DEFAULT '0',
diff --git a/sql/updates/9010_world_spell_scripts.sql b/sql/updates/9010_world_spell_scripts.sql
new file mode 100644
index 00000000000..ee1c8601873
--- /dev/null
+++ b/sql/updates/9010_world_spell_scripts.sql
@@ -0,0 +1 @@
+ALTER TABLE `spell_scripts` ADD COLUMN `effIndex` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `id`;