server/sql/updates/10503_01_characters_creature_respawn.sql
zergtmn 20f4a16f01 [10503] Move *_respawn tables to characters DB.
This allow have in `mangos` DB only world static state data.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-09-19 00:45:21 +04:00

10 lines
554 B
SQL

ALTER TABLE character_db_version CHANGE COLUMN required_10332_02_characters_pet_aura required_10503_01_characters_creature_respawn bit;
DROP TABLE IF EXISTS `creature_respawn`;
CREATE TABLE `creature_respawn` (
`guid` int(10) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
`respawntime` bigint(20) NOT NULL default '0',
`instance` mediumint(8) unsigned NOT NULL default '0',
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Grid Loading System';