Core/CharDB Cleanup: alter character_battleground_data table making column names lowerCamel and move all queries to prepared statements.

This commit is contained in:
Azazel
2011-04-08 11:28:10 +06:00
parent 74b84a603d
commit 37a6fe2ae7
6 changed files with 51 additions and 19 deletions

View File

@@ -462,16 +462,16 @@ DROP TABLE IF EXISTS `character_battleground_data`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_battleground_data` (
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`instance_id` int(10) unsigned NOT NULL,
`instanceId` int(10) unsigned NOT NULL COMMENT 'Instance Identifier',
`team` smallint(5) unsigned NOT NULL,
`join_x` float NOT NULL DEFAULT '0',
`join_y` float NOT NULL DEFAULT '0',
`join_z` float NOT NULL DEFAULT '0',
`join_o` float NOT NULL DEFAULT '0',
`join_map` smallint(5) unsigned NOT NULL DEFAULT '0',
`taxi_start` int(10) unsigned NOT NULL DEFAULT '0',
`taxi_end` int(10) unsigned NOT NULL DEFAULT '0',
`mount_spell` mediumint(8) unsigned NOT NULL DEFAULT '0',
`joinX` float NOT NULL DEFAULT '0',
`joinY` float NOT NULL DEFAULT '0',
`joinZ` float NOT NULL DEFAULT '0',
`joinO` float NOT NULL DEFAULT '0',
`joinMapId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
`taxiStart` int(10) unsigned NOT NULL DEFAULT '0',
`taxiEnd` int(10) unsigned NOT NULL DEFAULT '0',
`mountSpell` mediumint(8) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;