mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Entities: Third part of converting int to bigint guids in database
This commit is contained in:
@@ -688,31 +688,31 @@ DROP TABLE IF EXISTS `character_equipmentsets`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_equipmentsets` (
|
||||
`guid` int(10) NOT NULL DEFAULT '0',
|
||||
`guid` bigint(20) NOT NULL DEFAULT '0',
|
||||
`setguid` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
`setindex` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`name` varchar(31) NOT NULL,
|
||||
`iconname` varchar(100) NOT NULL,
|
||||
`ignore_mask` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item0` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item1` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item2` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item3` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item4` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item5` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item6` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item7` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item8` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item9` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item10` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item11` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item12` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item13` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item14` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item15` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item16` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item17` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item18` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`item0` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item1` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item2` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item3` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item4` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item5` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item6` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item7` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item8` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item9` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item10` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item11` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item12` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item13` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item14` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item15` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item16` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item17` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item18` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`setguid`),
|
||||
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
|
||||
KEY `Idx_setindex` (`setindex`)
|
||||
@@ -736,8 +736,8 @@ DROP TABLE IF EXISTS `character_gifts`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_gifts` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`item_guid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`item_guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`flags` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`item_guid`),
|
||||
@@ -762,7 +762,7 @@ DROP TABLE IF EXISTS `character_glyphs`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_glyphs` (
|
||||
`guid` int(10) unsigned NOT NULL,
|
||||
`guid` bigint(20) unsigned NOT NULL,
|
||||
`spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`glyph1` smallint(5) unsigned DEFAULT '0',
|
||||
`glyph2` smallint(5) unsigned DEFAULT '0',
|
||||
@@ -794,7 +794,7 @@ DROP TABLE IF EXISTS `character_homebind`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_homebind` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`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',
|
||||
@@ -821,7 +821,7 @@ DROP TABLE IF EXISTS `character_instance`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_instance` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`instance` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`permanent` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`instance`),
|
||||
@@ -846,10 +846,10 @@ DROP TABLE IF EXISTS `character_inventory`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_inventory` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`bag` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`bag` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`slot` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`item` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Global Unique Identifier',
|
||||
`item` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Global Unique Identifier',
|
||||
PRIMARY KEY (`item`),
|
||||
UNIQUE KEY `guid` (`guid`,`bag`,`slot`),
|
||||
KEY `idx_guid` (`guid`)
|
||||
@@ -941,7 +941,7 @@ DROP TABLE IF EXISTS `character_queststatus`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_queststatus` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
|
||||
`status` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`explored` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
@@ -976,7 +976,7 @@ DROP TABLE IF EXISTS `character_queststatus_daily`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_queststatus_daily` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
|
||||
`time` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`quest`),
|
||||
@@ -1001,7 +1001,7 @@ DROP TABLE IF EXISTS `character_queststatus_monthly`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_queststatus_monthly` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
|
||||
PRIMARY KEY (`guid`,`quest`),
|
||||
KEY `idx_guid` (`guid`)
|
||||
@@ -1025,7 +1025,7 @@ DROP TABLE IF EXISTS `character_queststatus_rewarded`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_queststatus_rewarded` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
|
||||
`active` tinyint(10) unsigned NOT NULL DEFAULT '1',
|
||||
PRIMARY KEY (`guid`,`quest`)
|
||||
@@ -1049,7 +1049,7 @@ DROP TABLE IF EXISTS `character_queststatus_seasonal`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_queststatus_seasonal` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
|
||||
`event` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Event Identifier',
|
||||
PRIMARY KEY (`guid`,`quest`),
|
||||
@@ -1074,7 +1074,7 @@ DROP TABLE IF EXISTS `character_queststatus_weekly`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_queststatus_weekly` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
|
||||
PRIMARY KEY (`guid`,`quest`),
|
||||
KEY `idx_guid` (`guid`)
|
||||
@@ -1098,7 +1098,7 @@ DROP TABLE IF EXISTS `character_reputation`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_reputation` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`guid` bigint(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`faction` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`standing` int(11) NOT NULL DEFAULT '0',
|
||||
`flags` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
@@ -1123,7 +1123,7 @@ DROP TABLE IF EXISTS `character_skills`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_skills` (
|
||||
`guid` int(10) unsigned NOT NULL COMMENT 'Global Unique Identifier',
|
||||
`guid` bigint(20) unsigned NOT NULL COMMENT 'Global Unique Identifier',
|
||||
`skill` smallint(5) unsigned NOT NULL,
|
||||
`value` smallint(5) unsigned NOT NULL,
|
||||
`max` smallint(5) unsigned NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user