mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Garrisons: Basics for garrisons
This commit is contained in:
36
sql/updates/characters/2015_05_08_00_characters.sql
Normal file
36
sql/updates/characters/2015_05_08_00_characters.sql
Normal file
@@ -0,0 +1,36 @@
|
||||
--
|
||||
-- Table structure for table `character_garrison`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `character_garrison`;
|
||||
CREATE TABLE `character_garrison` (
|
||||
`guid` bigint(20) unsigned NOT NULL,
|
||||
`siteLevelId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`followerActivationsRemainingToday` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_blueprints`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `character_garrison_blueprints`;
|
||||
CREATE TABLE `character_garrison_blueprints` (
|
||||
`guid` bigint(20) unsigned NOT NULL,
|
||||
`buildingId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`buildingId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_buildings`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `character_garrison_buildings`;
|
||||
CREATE TABLE `character_garrison_buildings` (
|
||||
`guid` bigint(20) unsigned NOT NULL,
|
||||
`plotInstanceId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`buildingId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`timeBuilt` bigint(20) unsigned NOT NULL,
|
||||
`active` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`plotInstanceId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
Reference in New Issue
Block a user