diff options
Diffstat (limited to 'sql/base')
| -rw-r--r-- | sql/base/characters_database.sql | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql index 37b84dfc29d..d73924aa76d 100644 --- a/sql/base/characters_database.sql +++ b/sql/base/characters_database.sql @@ -827,6 +827,66 @@ LOCK TABLES `character_garrison_buildings` WRITE; UNLOCK TABLES; -- +-- Table structure for table `character_garrison_followers` +-- + +DROP TABLE IF EXISTS `character_garrison_followers`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `character_garrison_followers` ( + `dbId` bigint(20) unsigned NOT NULL, + `guid` bigint(20) unsigned NOT NULL, + `followerId` int(10) unsigned NOT NULL, + `quality` int(10) unsigned NOT NULL DEFAULT '2', + `level` int(10) unsigned NOT NULL DEFAULT '90', + `itemLevelWeapon` int(10) unsigned NOT NULL DEFAULT '600', + `itemLevelArmor` int(10) unsigned NOT NULL DEFAULT '600', + `xp` int(10) unsigned NOT NULL DEFAULT '0', + `currentBuilding` int(10) unsigned NOT NULL DEFAULT '0', + `currentMission` int(10) unsigned NOT NULL DEFAULT '0', + `status` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`dbId`), + UNIQUE KEY `idx_guid_id` (`guid`,`followerId`), + CONSTRAINT `fk_foll_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `character_garrison_followers` +-- + +LOCK TABLES `character_garrison_followers` WRITE; +/*!40000 ALTER TABLE `character_garrison_followers` DISABLE KEYS */; +/*!40000 ALTER TABLE `character_garrison_followers` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `character_garrison_follower_abilities` +-- + +DROP TABLE IF EXISTS `character_garrison_follower_abilities`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `character_garrison_follower_abilities` ( + `dbId` bigint(20) unsigned NOT NULL, + `abilityId` int(10) unsigned NOT NULL, + `slot` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`dbId`,`abilityId`,`slot`), + CONSTRAINT `fk_foll_dbid` FOREIGN KEY (`dbId`) REFERENCES `character_garrison_followers` (`dbId`) ON DELETE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `character_garrison_follower_abilities` +-- + +LOCK TABLES `character_garrison_follower_abilities` WRITE; +/*!40000 ALTER TABLE `character_garrison_follower_abilities` DISABLE KEYS */; +/*!40000 ALTER TABLE `character_garrison_follower_abilities` ENABLE KEYS */; +UNLOCK TABLES; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +-- -- Table structure for table `character_gifts` -- |
