mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
you can use db_assembler crossplatform tool from our repository to assemble it in a single sql file
37 lines
1.7 KiB
SQL
37 lines
1.7 KiB
SQL
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
DROP TABLE IF EXISTS `guild_eventlog`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_eventlog`
|
|
(
|
|
`guildid` int(10) unsigned NOT NULL COMMENT 'Guild Identificator',
|
|
`LogGuid` int(10) unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column',
|
|
`EventType` tinyint(3) unsigned NOT NULL COMMENT 'Event type',
|
|
`PlayerGuid1` int(10) unsigned NOT NULL COMMENT 'Player 1',
|
|
`PlayerGuid2` int(10) unsigned NOT NULL COMMENT 'Player 2',
|
|
`NewRank` tinyint(3) unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)',
|
|
`TimeStamp` int(10) unsigned NOT NULL COMMENT 'Event UNIX time',
|
|
PRIMARY KEY (`guildid`,`LogGuid`),
|
|
KEY `Idx_PlayerGuid1` (`PlayerGuid1`),
|
|
KEY `Idx_PlayerGuid2` (`PlayerGuid2`),
|
|
KEY `Idx_LogGuid` (`LogGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild Eventlog';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
LOCK TABLES `guild_eventlog` WRITE;
|
|
/*!40000 ALTER TABLE `guild_eventlog` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_eventlog` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|