[9136] Merge branch '330' - Switch to support client version 3.3.0A
[getmangos.git] / sql / updates / 9136_02_mangos_quest_poi.sql
blob7a7773fed41f25ff4768f95a958694235c241603
1 ALTER TABLE db_version CHANGE COLUMN required_9133_01_mangos_spell_proc_event required_9136_02_mangos_quest_poi bit;
3 DROP TABLE IF EXISTS `quest_poi`;
4 CREATE TABLE `quest_poi` (
5   `questid` int(11) unsigned NOT NULL DEFAULT '0',
6   `objIndex` int(11) NOT NULL DEFAULT '0',
7   `mapId` int(11) unsigned NOT NULL DEFAULT '0',
8   `unk1` int(11) unsigned NOT NULL DEFAULT '0',
9   `unk2` int(11) unsigned NOT NULL DEFAULT '0',
10   `unk3` int(11) unsigned NOT NULL DEFAULT '0',
11   `unk4` int(11) unsigned NOT NULL DEFAULT '0',
12   PRIMARY KEY (`questid`,`objIndex`)
13 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
15 DROP TABLE IF EXISTS `quest_poi_points`;
16 CREATE TABLE `quest_poi_points` (
17   `questId` int(11) unsigned NOT NULL DEFAULT '0',
18   `objIndex` int(11) NOT NULL DEFAULT '0',
19   `x` int(11) NOT NULL DEFAULT '0',
20   `y` int(11) NOT NULL DEFAULT '0',
21   KEY `idx` (`questId`,`objIndex`)
22 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;