1 ALTER TABLE db_version CHANGE COLUMN required_7292_02_mangos_locales_points_of_interest required_7303_01_mangos_pools bit;
3 DROP TABLE IF EXISTS `pool_creature`;
4 CREATE TABLE `pool_creature` (
5 `guid` int(10) unsigned NOT NULL default '0',
6 `pool_entry` mediumint(8) unsigned NOT NULL default '0',
7 `chance` float unsigned NOT NULL default '0',
8 PRIMARY KEY (`pool_entry`,`guid`)
9 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
11 DROP TABLE IF EXISTS `pool_gameobject`;
12 CREATE TABLE `pool_gameobject` (
13 `guid` int(10) unsigned NOT NULL default '0',
14 `pool_entry` mediumint(8) unsigned NOT NULL default '0',
15 `chance` float unsigned NOT NULL default '0',
16 PRIMARY KEY (`guid`,`pool_entry`)
17 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
19 DROP TABLE IF EXISTS `pool_pool`;
20 CREATE TABLE `pool_pool` (
21 `pool_id` mediumint(8) unsigned NOT NULL default '0',
22 `mother_pool` mediumint(8) unsigned NOT NULL default '0',
23 `chance` float NOT NULL default '0',
24 PRIMARY KEY (`pool_id`,`mother_pool`)
25 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
27 DROP TABLE IF EXISTS `pool_template`;
28 CREATE TABLE `pool_template` (
29 `entry` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Pool entry',
30 `max_limit` int(10) unsigned NOT NULL default '0' COMMENT 'Max number of objects (0) is no limit',
32 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
34 DROP TABLE IF EXISTS `game_event_pool`;
35 CREATE TABLE `game_event_pool` (
36 `pool_entry` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Id of the pool',
37 `event` smallint(6) NOT NULL default '0' COMMENT 'Put negatives values to remove during event',
38 PRIMARY KEY (`pool_entry`)
39 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;