[12711] Fixed other sql errors (12594_01_mangos_spell_template.sql)

This commit is contained in:
sanctum32 2013-10-24 17:40:34 +03:00 committed by Antz
parent b1cdc2b547
commit 1a6eedab21
2 changed files with 1 additions and 6 deletions

View file

@ -1,10 +1,5 @@
ALTER TABLE db_version CHANGE COLUMN required_c12564_01_mangos_spell_template required_c12594_01_mangos_spell_template bit; ALTER TABLE db_version CHANGE COLUMN required_c12564_01_mangos_spell_template required_c12594_01_mangos_spell_template bit;
ALTER TABLE spell_template ADD COLUMN attr int(11) unsigned NOT NULL DEFAULT '0' AFTER id;
ALTER TABLE spell_template ADD COLUMN attr_ex int(11) unsigned NOT NULL DEFAULT '0' AFTER attr;
ALTER TABLE spell_template ADD COLUMN attr_ex2 int(11) unsigned NOT NULL DEFAULT '0' AFTER attr_ex;
ALTER TABLE spell_template ADD COLUMN effect0_implicit_target_b int(11) unsigned NOT NULL DEFAULT '0' AFTER effect0_implicit_target_a;
DELETE FROM spell_template WHERE id IN (21387, 23363, 25192, 26133, 37264, 37278, 37365, 58630, 59046, 59450, 64899, 64985, 65074, 65195, 68184, 72845); DELETE FROM spell_template WHERE id IN (21387, 23363, 25192, 26133, 37264, 37278, 37365, 58630, 59046, 59450, 64899, 64985, 65074, 65195, 68184, 72845);
INSERT INTO spell_template VALUES INSERT INTO spell_template VALUES
(21387, 0x00000140, 0x10000000, 0x00000000, 0x00000028, 15, 21, 6, 1, 0, 0, 42, 0, 0, 21388, 'Melt-Weapon trigger aura related used by Ragnaros'), (21387, 0x00000140, 0x10000000, 0x00000000, 0x00000028, 15, 21, 6, 1, 0, 0, 42, 0, 0, 21388, 'Melt-Weapon trigger aura related used by Ragnaros'),

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "12710" #define REVISION_NR "12711"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__