[7887] Drop pet spell teaching code, including field in character_pet.

This commit is contained in:
VladimirMangos 2009-05-24 07:18:15 +04:00
parent 8171bb57dd
commit c56ef09fa3
10 changed files with 23 additions and 210 deletions

View file

@ -21,7 +21,7 @@
DROP TABLE IF EXISTS `character_db_version`;
CREATE TABLE `character_db_version` (
`required_7884_05_characters_character_action` bit(1) default NULL
`required_7887_01_characters_character_pet` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
--
@ -483,7 +483,6 @@ CREATE TABLE `character_pet` (
`resettalents_cost` int(11) unsigned NOT NULL default '0',
`resettalents_time` bigint(20) unsigned NOT NULL default '0',
`abdata` longtext,
`teachspelldata` longtext,
PRIMARY KEY (`id`),
KEY `owner` (`owner`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';

View file

@ -0,0 +1,4 @@
ALTER TABLE character_db_version CHANGE COLUMN required_7884_05_characters_character_action required_7887_01_characters_character_pet bit;
ALTER TABLE `character_pet`
DROP TeachSpelldata;

View file

@ -198,6 +198,7 @@ pkgdata_DATA = \
7884_04_characters_character_aura.sql \
7884_05_characters_character_action.sql \
7886_01_mangos_petcreateinfo_spell.sql \
7887_01_characters_character_pet.sql \
README
## Additional files to include when running 'make dist'
@ -376,4 +377,5 @@ EXTRA_DIST = \
7884_04_characters_character_aura.sql \
7884_05_characters_character_action.sql \
7886_01_mangos_petcreateinfo_spell.sql \
7887_01_characters_character_pet.sql \
README