server/sql/updates/11876_01_mangos_creature_linking_template.sql
virusav 14b001ff2a [11876] Fix table layout for creature_linking_template
Also change `spell_pet_auras` and `spell_script_target` default charset to utf8 as expected. Check your SQL Userguide for proper charset convertion, but this should not be required

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-16 17:59:53 +01:00

6 lines
771 B
SQL

ALTER TABLE db_version CHANGE COLUMN required_11852_01_mangos_gossip_menu required_11876_01_mangos_creature_linking_template bit;
ALTER TABLE `creature_linking_template` CHANGE COLUMN `entry` `entry` mediumint(8) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'creature_template.entry of the slave mob that is linked';
ALTER TABLE `creature_linking_template` CHANGE COLUMN `map` `map` SMALLINT(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'Id of map of the mobs';
ALTER TABLE `creature_linking_template` CHANGE COLUMN `master_entry` `master_entry` mediumint(8) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'master to trigger events';
ALTER TABLE `creature_linking_template` CHANGE COLUMN `flag` `flag` mediumint(8) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'flag - describing what should happen when';