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

This commit is contained in:
Azazel
2011-04-08 17:04:51 +06:00
parent 37a6fe2ae7
commit 9f1cc4407a
7 changed files with 72 additions and 18 deletions

View File

@@ -645,11 +645,11 @@ DROP TABLE IF EXISTS `character_homebind`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_homebind` (
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`map` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
`zone` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier',
`position_x` float NOT NULL DEFAULT '0',
`position_y` float NOT NULL DEFAULT '0',
`position_z` float NOT NULL DEFAULT '0',
`mapId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
`zoneId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier',
`posX` float NOT NULL DEFAULT '0',
`posY` float NOT NULL DEFAULT '0',
`posZ` float NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;