2016-07-30 17:09:46 +02:00
-- MySQL dump 10.16 Distrib 10.1.16-MariaDB, for Win64 (AMD64)
2008-10-02 16:23:55 -05:00
--
2016-07-30 17:09:46 +02:00
-- Host: localhost Database: auth
2008-10-02 16:23:55 -05:00
-- ------------------------------------------------------
2016-07-30 17:09:46 +02:00
-- Server version 10.1.16-MariaDB
2008-10-02 16:23:55 -05:00
/* !40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */ ;
/* !40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */ ;
/* !40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */ ;
/* !40101 SET NAMES utf8 */ ;
/* !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 */ ;
2009-12-21 21:08:29 -06:00
--
2008-10-02 16:23:55 -05:00
-- Table structure for table `account`
--
DROP TABLE IF EXISTS ` account ` ;
2010-02-01 18:52:42 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2008-10-02 16:23:55 -05:00
CREATE TABLE ` account ` (
2012-05-30 08:01:02 +02:00
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' Identifier ' ,
2012-02-19 13:21:14 +01:00
` username ` varchar ( 32 ) NOT NULL DEFAULT ' ' ,
` sha_pass_hash ` varchar ( 40 ) NOT NULL DEFAULT ' ' ,
2012-05-30 08:01:02 +02:00
` sessionkey ` varchar ( 80 ) NOT NULL DEFAULT ' ' ,
` v ` varchar ( 64 ) NOT NULL DEFAULT ' ' ,
` s ` varchar ( 64 ) NOT NULL DEFAULT ' ' ,
2013-08-25 14:02:40 +01:00
` token_key ` varchar ( 100 ) NOT NULL DEFAULT ' ' ,
2013-07-25 01:49:04 +02:00
` email ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` reg_mail ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
2012-02-19 13:21:14 +01:00
` joindate ` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ,
2012-05-30 08:01:02 +02:00
` last_ip ` varchar ( 15 ) NOT NULL DEFAULT ' 127.0.0.1 ' ,
2014-05-02 03:44:21 +02:00
` last_attempt_ip ` varchar ( 15 ) NOT NULL DEFAULT ' 127.0.0.1 ' ,
2012-05-30 08:01:02 +02:00
` failed_logins ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
2012-02-19 13:21:14 +01:00
` locked ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
2013-04-15 14:56:00 +03:00
` lock_country ` varchar ( 2 ) NOT NULL DEFAULT ' 00 ' ,
2012-02-19 13:21:14 +01:00
` last_login ` timestamp NOT NULL DEFAULT ' 0000-00-00 00:00:00 ' ,
2012-05-30 08:01:02 +02:00
` online ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
2016-08-30 00:00:33 +02:00
` expansion ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 6 ' ,
2012-05-30 08:01:02 +02:00
` mutetime ` bigint ( 20 ) NOT NULL DEFAULT ' 0 ' ,
2013-02-04 16:08:07 +00:00
` mutereason ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` muteby ` varchar ( 50 ) NOT NULL DEFAULT ' ' ,
2012-02-19 13:21:14 +01:00
` locale ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
2014-11-23 23:53:22 +00:00
` os ` varchar ( 4 ) NOT NULL DEFAULT ' ' ,
2012-05-30 08:01:02 +02:00
` recruiter ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
2014-06-08 13:02:16 +02:00
` battlenet_account ` int ( 10 ) unsigned DEFAULT NULL ,
2014-06-08 14:54:37 +02:00
` battlenet_index ` tinyint ( 3 ) unsigned DEFAULT NULL ,
2012-02-19 13:21:14 +01:00
PRIMARY KEY ( ` id ` ) ,
2014-06-08 13:02:16 +02:00
UNIQUE KEY ` idx_username ` ( ` username ` ) ,
2014-11-10 23:10:02 +00:00
UNIQUE KEY ` uk_bnet_acc ` ( ` battlenet_account ` , ` battlenet_index ` ) ,
CONSTRAINT ` fk_bnet_acc ` FOREIGN KEY ( ` battlenet_account ` ) REFERENCES ` battlenet_accounts ` ( ` id ` )
2012-05-30 08:01:02 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' Account System ' ;
2010-02-01 18:52:42 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2008-10-02 16:23:55 -05:00
--
-- Dumping data for table `account`
--
LOCK TABLES ` account ` WRITE ;
/* !40000 ALTER TABLE `account` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `account` ENABLE KEYS */ ;
UNLOCK TABLES ;
2012-02-19 13:21:14 +01:00
--
-- Table structure for table `account_access`
--
DROP TABLE IF EXISTS ` account_access ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` account_access ` (
2012-05-30 08:01:02 +02:00
` id ` int ( 10 ) unsigned NOT NULL ,
2012-02-19 13:21:14 +01:00
` gmlevel ` tinyint ( 3 ) unsigned NOT NULL ,
` RealmID ` int ( 11 ) NOT NULL DEFAULT ' -1 ' ,
PRIMARY KEY ( ` id ` , ` RealmID ` )
2012-05-30 08:01:02 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
2012-02-19 13:21:14 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `account_access`
--
LOCK TABLES ` account_access ` WRITE ;
/* !40000 ALTER TABLE `account_access` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `account_access` ENABLE KEYS */ ;
UNLOCK TABLES ;
2008-10-02 16:23:55 -05:00
--
-- Table structure for table `account_banned`
--
DROP TABLE IF EXISTS ` account_banned ` ;
2010-02-01 18:52:42 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2008-10-02 16:23:55 -05:00
CREATE TABLE ` account_banned ` (
2012-05-30 08:01:02 +02:00
` id ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Account id ' ,
` bandate ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` unbandate ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
2008-10-02 16:23:55 -05:00
` bannedby ` varchar ( 50 ) NOT NULL ,
` banreason ` varchar ( 255 ) NOT NULL ,
2012-05-30 08:01:02 +02:00
` active ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 1 ' ,
2012-02-19 13:21:14 +01:00
PRIMARY KEY ( ` id ` , ` bandate ` )
2012-05-30 08:01:02 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' Ban List ' ;
2010-02-01 18:52:42 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2008-10-02 16:23:55 -05:00
--
-- Dumping data for table `account_banned`
--
LOCK TABLES ` account_banned ` WRITE ;
/* !40000 ALTER TABLE `account_banned` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `account_banned` ENABLE KEYS */ ;
UNLOCK TABLES ;
2016-03-28 17:12:57 +02:00
--
-- Table structure for table `account_last_played_character`
--
DROP TABLE IF EXISTS ` account_last_played_character ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` account_last_played_character ` (
` accountId ` int ( 10 ) unsigned NOT NULL ,
` region ` tinyint ( 3 ) unsigned NOT NULL ,
` battlegroup ` tinyint ( 3 ) unsigned NOT NULL ,
2016-04-11 02:42:03 +01:00
` realmId ` int ( 10 ) unsigned DEFAULT NULL ,
` characterName ` varchar ( 12 ) DEFAULT NULL ,
` characterGUID ` bigint ( 20 ) unsigned DEFAULT NULL ,
` lastPlayedTime ` int ( 10 ) unsigned DEFAULT NULL ,
PRIMARY KEY ( ` accountId ` , ` region ` , ` battlegroup ` )
2016-03-28 17:12:57 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `account_last_played_character`
--
LOCK TABLES ` account_last_played_character ` WRITE ;
/* !40000 ALTER TABLE `account_last_played_character` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `account_last_played_character` ENABLE KEYS */ ;
UNLOCK TABLES ;
2014-10-18 23:01:30 +01:00
--
-- Table structure for table `account_muted`
--
DROP TABLE IF EXISTS ` account_muted ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` account_muted ` (
` guid ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Global Unique Identifier ' ,
` mutedate ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` mutetime ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` mutedby ` varchar ( 50 ) NOT NULL ,
` mutereason ` varchar ( 255 ) NOT NULL ,
PRIMARY KEY ( ` guid ` , ` mutedate ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' mute List ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `account_muted`
--
LOCK TABLES ` account_muted ` WRITE ;
/* !40000 ALTER TABLE `account_muted` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `account_muted` ENABLE KEYS */ ;
UNLOCK TABLES ;
2013-06-02 19:28:53 +02:00
--
2013-09-10 23:21:27 +01:00
-- Table structure for table `autobroadcast`
2013-06-02 19:28:53 +02:00
--
DROP TABLE IF EXISTS ` autobroadcast ` ;
2013-09-10 23:21:27 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2013-06-02 19:28:53 +02:00
CREATE TABLE ` autobroadcast ` (
` realmid ` int ( 11 ) NOT NULL DEFAULT ' -1 ' ,
` id ` tinyint ( 3 ) unsigned NOT NULL AUTO_INCREMENT ,
` weight ` tinyint ( 3 ) unsigned DEFAULT ' 1 ' ,
` text ` longtext NOT NULL ,
PRIMARY KEY ( ` id ` , ` realmid ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
2013-09-10 23:21:27 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2013-06-02 19:28:53 +02:00
2008-10-02 16:23:55 -05:00
--
2013-09-10 23:21:27 +01:00
-- Dumping data for table `autobroadcast`
2008-10-02 16:23:55 -05:00
--
2013-09-10 23:21:27 +01:00
LOCK TABLES ` autobroadcast ` WRITE ;
/* !40000 ALTER TABLE `autobroadcast` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `autobroadcast` ENABLE KEYS */ ;
UNLOCK TABLES ;
2008-10-02 16:23:55 -05:00
2015-10-02 13:00:56 +02:00
--
-- Table structure for table `battle_pet_slots`
--
DROP TABLE IF EXISTS ` battle_pet_slots ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` battle_pet_slots ` (
` id ` tinyint ( 3 ) NOT NULL ,
` battlenetAccountId ` int ( 10 ) NOT NULL ,
` battlePetGuid ` bigint ( 20 ) NOT NULL ,
` locked ` tinyint ( 3 ) NOT NULL DEFAULT ' 1 ' ,
PRIMARY KEY ( ` id ` , ` battlenetAccountId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `battle_pet_slots`
--
LOCK TABLES ` battle_pet_slots ` WRITE ;
/* !40000 ALTER TABLE `battle_pet_slots` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `battle_pet_slots` ENABLE KEYS */ ;
UNLOCK TABLES ;
2015-09-09 14:52:32 +02:00
--
-- Table structure for table `battle_pets`
--
DROP TABLE IF EXISTS ` battle_pets ` ;
2015-10-02 13:00:56 +02:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2015-09-09 14:52:32 +02:00
CREATE TABLE ` battle_pets ` (
` guid ` bigint ( 20 ) NOT NULL ,
` battlenetAccountId ` int ( 10 ) NOT NULL ,
` species ` int ( 10 ) NOT NULL ,
` breed ` smallint ( 5 ) NOT NULL ,
` level ` smallint ( 5 ) NOT NULL DEFAULT ' 1 ' ,
` exp ` smallint ( 5 ) NOT NULL DEFAULT ' 0 ' ,
` health ` int ( 10 ) NOT NULL DEFAULT ' 1 ' ,
` quality ` tinyint ( 3 ) NOT NULL DEFAULT ' 0 ' ,
` flags ` smallint ( 5 ) NOT NULL DEFAULT ' 0 ' ,
` name ` varchar ( 12 ) NOT NULL ,
PRIMARY KEY ( ` guid ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
2015-10-02 13:00:56 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-09-09 14:52:32 +02:00
--
-- Dumping data for table `battle_pets`
--
LOCK TABLES ` battle_pets ` WRITE ;
/* !40000 ALTER TABLE `battle_pets` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `battle_pets` ENABLE KEYS */ ;
UNLOCK TABLES ;
2014-05-06 23:43:29 +02:00
--
-- Table structure for table `battlenet_account_bans`
--
DROP TABLE IF EXISTS ` battlenet_account_bans ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` battlenet_account_bans ` (
` id ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Account id ' ,
` bandate ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` unbandate ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` bannedby ` varchar ( 50 ) NOT NULL ,
` banreason ` varchar ( 255 ) NOT NULL ,
PRIMARY KEY ( ` id ` , ` bandate ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' Ban List ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `battlenet_account_bans`
--
LOCK TABLES ` battlenet_account_bans ` WRITE ;
/* !40000 ALTER TABLE `battlenet_account_bans` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `battlenet_account_bans` ENABLE KEYS */ ;
UNLOCK TABLES ;
2015-10-16 22:54:46 +02:00
--
-- Table structure for table `battlenet_account_heirlooms`
--
DROP TABLE IF EXISTS ` battlenet_account_heirlooms ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` battlenet_account_heirlooms ` (
` accountId ` int ( 10 ) unsigned NOT NULL ,
` itemId ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` flags ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` accountId ` , ` itemId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `battlenet_account_heirlooms`
--
LOCK TABLES ` battlenet_account_heirlooms ` WRITE ;
/* !40000 ALTER TABLE `battlenet_account_heirlooms` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `battlenet_account_heirlooms` ENABLE KEYS */ ;
UNLOCK TABLES ;
2015-08-26 11:12:35 +02:00
--
-- Table structure for table `battlenet_account_toys`
--
DROP TABLE IF EXISTS ` battlenet_account_toys ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` battlenet_account_toys ` (
` accountId ` int ( 10 ) unsigned NOT NULL ,
` itemId ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` isFavourite ` tinyint ( 1 ) DEFAULT ' 0 ' ,
PRIMARY KEY ( ` accountId ` , ` itemId ` )
2015-10-17 12:44:19 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
2015-08-26 11:12:35 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `battlenet_account_toys`
--
LOCK TABLES ` battlenet_account_toys ` WRITE ;
/* !40000 ALTER TABLE `battlenet_account_toys` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `battlenet_account_toys` ENABLE KEYS */ ;
UNLOCK TABLES ;
2014-05-06 23:43:29 +02:00
--
-- Table structure for table `battlenet_accounts`
--
DROP TABLE IF EXISTS ` battlenet_accounts ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` battlenet_accounts ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' Identifier ' ,
` email ` varchar ( 320 ) NOT NULL ,
` sha_pass_hash ` varchar ( 64 ) NOT NULL DEFAULT ' ' ,
` joindate ` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ,
` last_ip ` varchar ( 15 ) NOT NULL DEFAULT ' 127.0.0.1 ' ,
` failed_logins ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` locked ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` lock_country ` varchar ( 2 ) NOT NULL DEFAULT ' 00 ' ,
` last_login ` timestamp NOT NULL DEFAULT ' 0000-00-00 00:00:00 ' ,
` online ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` locale ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
2014-11-25 16:44:50 +00:00
` os ` varchar ( 4 ) NOT NULL DEFAULT ' ' ,
2014-11-03 19:11:14 +01:00
` LastCharacterUndelete ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
2014-05-06 23:43:29 +02:00
PRIMARY KEY ( ` id ` )
2015-02-11 22:54:06 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' Account System ' ;
2014-05-06 23:43:29 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-11-10 23:10:02 +00:00
--
-- Dumping data for table `battlenet_accounts`
--
LOCK TABLES ` battlenet_accounts ` WRITE ;
/* !40000 ALTER TABLE `battlenet_accounts` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `battlenet_accounts` ENABLE KEYS */ ;
UNLOCK TABLES ;
2016-07-19 16:55:21 +02:00
--
-- Table structure for table `battlenet_item_appearances`
--
DROP TABLE IF EXISTS ` battlenet_item_appearances ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` battlenet_item_appearances ` (
` battlenetAccountId ` int ( 10 ) unsigned NOT NULL ,
` blobIndex ` smallint ( 5 ) unsigned NOT NULL ,
` appearanceMask ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` battlenetAccountId ` , ` blobIndex ` ) ,
CONSTRAINT ` fk_battlenet_item_appearances ` FOREIGN KEY ( ` battlenetAccountId ` ) REFERENCES ` battlenet_accounts ` ( ` id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `battlenet_item_appearances`
--
LOCK TABLES ` battlenet_item_appearances ` WRITE ;
/* !40000 ALTER TABLE `battlenet_item_appearances` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `battlenet_item_appearances` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `battlenet_item_favorite_appearances`
--
DROP TABLE IF EXISTS ` battlenet_item_favorite_appearances ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` battlenet_item_favorite_appearances ` (
` battlenetAccountId ` int ( 10 ) unsigned NOT NULL ,
` itemModifiedAppearanceId ` int ( 10 ) unsigned NOT NULL ,
PRIMARY KEY ( ` battlenetAccountId ` , ` itemModifiedAppearanceId ` ) ,
CONSTRAINT ` fk_battlenet_item_favorite_appearances ` FOREIGN KEY ( ` battlenetAccountId ` ) REFERENCES ` battlenet_accounts ` ( ` id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `battlenet_item_favorite_appearances`
--
LOCK TABLES ` battlenet_item_favorite_appearances ` WRITE ;
/* !40000 ALTER TABLE `battlenet_item_favorite_appearances` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `battlenet_item_favorite_appearances` ENABLE KEYS */ ;
UNLOCK TABLES ;
2013-09-10 23:21:27 +01:00
--
-- Table structure for table `ip2nation`
--
2013-04-26 00:58:34 +03:00
DROP TABLE IF EXISTS ` ip2nation ` ;
2013-09-10 23:21:27 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2013-04-26 00:58:34 +03:00
CREATE TABLE ` ip2nation ` (
` ip ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` country ` char ( 2 ) NOT NULL DEFAULT ' ' ,
KEY ` ip ` ( ` ip ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
2013-09-10 23:21:27 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2013-04-26 00:58:34 +03:00
2013-09-10 23:21:27 +01:00
--
-- Dumping data for table `ip2nation`
--
2013-04-26 00:58:34 +03:00
2013-09-10 23:21:27 +01:00
LOCK TABLES ` ip2nation ` WRITE ;
/* !40000 ALTER TABLE `ip2nation` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `ip2nation` ENABLE KEYS */ ;
UNLOCK TABLES ;
2013-04-26 00:58:34 +03:00
2013-09-10 23:21:27 +01:00
--
-- Table structure for table `ip2nationCountries`
--
DROP TABLE IF EXISTS ` ip2nationCountries ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2013-04-26 00:58:34 +03:00
CREATE TABLE ` ip2nationCountries ` (
` code ` varchar ( 4 ) NOT NULL DEFAULT ' ' ,
` iso_code_2 ` varchar ( 2 ) NOT NULL DEFAULT ' ' ,
` iso_code_3 ` varchar ( 3 ) DEFAULT ' ' ,
` iso_country ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` country ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` lat ` float NOT NULL DEFAULT ' 0 ' ,
` lon ` float NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` code ` ) ,
KEY ` code ` ( ` code ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
2013-09-10 23:21:27 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `ip2nationCountries`
--
LOCK TABLES ` ip2nationCountries ` WRITE ;
/* !40000 ALTER TABLE `ip2nationCountries` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `ip2nationCountries` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `ip_banned`
--
DROP TABLE IF EXISTS ` ip_banned ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` ip_banned ` (
` ip ` varchar ( 15 ) NOT NULL DEFAULT ' 127.0.0.1 ' ,
` bandate ` int ( 10 ) unsigned NOT NULL ,
` unbandate ` int ( 10 ) unsigned NOT NULL ,
` bannedby ` varchar ( 50 ) NOT NULL DEFAULT ' [Console] ' ,
` banreason ` varchar ( 255 ) NOT NULL DEFAULT ' no reason ' ,
PRIMARY KEY ( ` ip ` , ` bandate ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' Banned IPs ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2013-04-26 00:58:34 +03:00
2008-10-02 16:23:55 -05:00
--
-- Dumping data for table `ip_banned`
--
LOCK TABLES ` ip_banned ` WRITE ;
/* !40000 ALTER TABLE `ip_banned` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `ip_banned` ENABLE KEYS */ ;
UNLOCK TABLES ;
2009-03-19 21:13:52 +01:00
--
-- Table structure for table `logs`
--
DROP TABLE IF EXISTS ` logs ` ;
2010-02-01 18:52:42 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2009-03-19 21:13:52 +01:00
CREATE TABLE ` logs ` (
2012-05-30 08:01:02 +02:00
` time ` int ( 10 ) unsigned NOT NULL ,
` realm ` int ( 10 ) unsigned NOT NULL ,
2014-07-08 11:45:46 +02:00
` type ` varchar ( 250 ) NOT NULL ,
2012-08-08 19:02:43 +01:00
` level ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
2012-05-30 08:01:02 +02:00
` string ` text CHARACTER SET latin1
) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
2010-02-01 18:52:42 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2009-03-19 21:13:52 +01:00
--
-- Dumping data for table `logs`
--
LOCK TABLES ` logs ` WRITE ;
/* !40000 ALTER TABLE `logs` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `logs` ENABLE KEYS */ ;
UNLOCK TABLES ;
2014-05-02 03:44:21 +02:00
--
-- Table structure for table `logs_ip_actions`
--
DROP TABLE IF EXISTS ` logs_ip_actions ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` logs_ip_actions ` (
2014-06-25 18:40:03 +02:00
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' Unique Identifier ' ,
` account_id ` int ( 10 ) unsigned NOT NULL COMMENT ' Account ID ' ,
2014-10-26 02:57:28 +02:00
` character_guid ` bigint ( 20 ) unsigned NOT NULL COMMENT ' Character Guid ' ,
2014-06-25 18:40:03 +02:00
` type ` tinyint ( 3 ) unsigned NOT NULL ,
` ip ` varchar ( 15 ) NOT NULL DEFAULT ' 127.0.0.1 ' ,
` systemnote ` text COMMENT ' Notes inserted by system ' ,
` unixtime ` int ( 10 ) unsigned NOT NULL COMMENT ' Unixtime ' ,
` time ` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT ' Timestamp ' ,
` comment ` text COMMENT ' Allows users to add a comment ' ,
PRIMARY KEY ( ` id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' Used to log ips of individual actions ' ;
2014-05-02 03:44:21 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `logs_ip_actions`
--
LOCK TABLES ` logs_ip_actions ` WRITE ;
/* !40000 ALTER TABLE `logs_ip_actions` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `logs_ip_actions` ENABLE KEYS */ ;
UNLOCK TABLES ;
2013-02-04 16:08:07 +00:00
--
-- Table structure for table `rbac_account_permissions`
--
DROP TABLE IF EXISTS ` rbac_account_permissions ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` rbac_account_permissions ` (
` accountId ` int ( 10 ) unsigned NOT NULL COMMENT ' Account id ' ,
` permissionId ` int ( 10 ) unsigned NOT NULL COMMENT ' Permission id ' ,
` granted ` tinyint ( 1 ) NOT NULL DEFAULT ' 1 ' COMMENT ' Granted = 1, Denied = 0 ' ,
` realmId ` int ( 11 ) NOT NULL DEFAULT ' -1 ' COMMENT ' Realm Id, -1 means all ' ,
PRIMARY KEY ( ` accountId ` , ` permissionId ` , ` realmId ` ) ,
KEY ` fk__rbac_account_roles__rbac_permissions ` ( ` permissionId ` ) ,
CONSTRAINT ` fk__rbac_account_permissions__account ` FOREIGN KEY ( ` accountId ` ) REFERENCES ` account ` ( ` id ` ) ON DELETE CASCADE ,
CONSTRAINT ` fk__rbac_account_roles__rbac_permissions ` FOREIGN KEY ( ` permissionId ` ) REFERENCES ` rbac_permissions ` ( ` id ` ) ON DELETE CASCADE
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' Account-Permission relation ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `rbac_account_permissions`
--
LOCK TABLES ` rbac_account_permissions ` WRITE ;
/* !40000 ALTER TABLE `rbac_account_permissions` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `rbac_account_permissions` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
2013-09-29 14:15:58 +02:00
-- Table structure for table `rbac_default_permissions`
2013-02-04 16:08:07 +00:00
--
2013-09-29 14:15:58 +02:00
DROP TABLE IF EXISTS ` rbac_default_permissions ` ;
2013-02-04 16:08:07 +00:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2013-09-29 14:15:58 +02:00
CREATE TABLE ` rbac_default_permissions ` (
` secId ` int ( 10 ) unsigned NOT NULL COMMENT ' Security Level id ' ,
` permissionId ` int ( 10 ) unsigned NOT NULL COMMENT ' permission id ' ,
2014-12-10 22:50:28 -02:00
` realmId ` int ( 11 ) NOT NULL DEFAULT ' -1 ' COMMENT ' Realm Id, -1 means all ' ,
2014-12-20 11:31:18 +01:00
PRIMARY KEY ( ` secId ` , ` permissionId ` , ` realmId ` ) ,
2013-09-29 14:15:58 +02:00
KEY ` fk__rbac_default_permissions__rbac_permissions ` ( ` permissionId ` ) ,
CONSTRAINT ` fk__rbac_default_permissions__rbac_permissions ` FOREIGN KEY ( ` permissionId ` ) REFERENCES ` rbac_permissions ` ( ` id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' Default permission to assign to different account security levels ' ;
2013-02-04 16:08:07 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2013-09-29 14:15:58 +02:00
-- Dumping data for table `rbac_default_permissions`
2013-02-04 16:08:07 +00:00
--
2013-09-29 14:15:58 +02:00
LOCK TABLES ` rbac_default_permissions ` WRITE ;
/* !40000 ALTER TABLE `rbac_default_permissions` DISABLE KEYS */ ;
2015-10-10 10:38:30 +02:00
INSERT INTO ` rbac_default_permissions ` VALUES ( 0 , 195 , - 1 ) , ( 1 , 194 , - 1 ) , ( 2 , 193 , - 1 ) , ( 3 , 192 , - 1 ) ;
2013-09-29 14:15:58 +02:00
/* !40000 ALTER TABLE `rbac_default_permissions` ENABLE KEYS */ ;
2013-02-04 16:08:07 +00:00
UNLOCK TABLES ;
--
2013-09-29 14:15:58 +02:00
-- Table structure for table `rbac_linked_permissions`
2013-02-04 16:08:07 +00:00
--
2013-09-29 14:15:58 +02:00
DROP TABLE IF EXISTS ` rbac_linked_permissions ` ;
2013-02-04 16:08:07 +00:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2013-09-29 14:15:58 +02:00
CREATE TABLE ` rbac_linked_permissions ` (
` id ` int ( 10 ) unsigned NOT NULL COMMENT ' Permission id ' ,
` linkedId ` int ( 10 ) unsigned NOT NULL COMMENT ' Linked Permission id ' ,
PRIMARY KEY ( ` id ` , ` linkedId ` ) ,
KEY ` fk__rbac_linked_permissions__rbac_permissions1 ` ( ` id ` ) ,
KEY ` fk__rbac_linked_permissions__rbac_permissions2 ` ( ` linkedId ` ) ,
CONSTRAINT ` fk__rbac_linked_permissions__rbac_permissions1 ` FOREIGN KEY ( ` id ` ) REFERENCES ` rbac_permissions ` ( ` id ` ) ON DELETE CASCADE ,
CONSTRAINT ` fk__rbac_linked_permissions__rbac_permissions2 ` FOREIGN KEY ( ` linkedId ` ) REFERENCES ` rbac_permissions ` ( ` id ` ) ON DELETE CASCADE
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' Permission - Linked Permission relation ' ;
2013-02-04 16:08:07 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2013-09-29 14:15:58 +02:00
-- Dumping data for table `rbac_linked_permissions`
2013-02-04 16:08:07 +00:00
--
2013-09-29 14:15:58 +02:00
LOCK TABLES ` rbac_linked_permissions ` WRITE ;
/* !40000 ALTER TABLE `rbac_linked_permissions` DISABLE KEYS */ ;
2016-09-03 18:12:40 +02:00
INSERT INTO ` rbac_linked_permissions ` VALUES ( 192 , 21 ) , ( 192 , 42 ) , ( 192 , 43 ) , ( 192 , 193 ) , ( 192 , 196 ) , ( 192 , 776 ) , ( 192 , 778 ) , ( 192 , 779 ) , ( 192 , 780 ) , ( 192 , 781 ) , ( 192 , 782 ) , ( 192 , 783 ) , ( 192 , 784 ) , ( 192 , 785 ) , ( 192 , 786 ) , ( 192 , 787 ) , ( 192 , 788 ) , ( 192 , 789 ) , ( 192 , 790 ) , ( 192 , 791 ) , ( 192 , 792 ) , ( 192 , 793 ) , ( 192 , 794 ) , ( 192 , 835 ) , ( 192 , 844 ) , ( 193 , 48 ) , ( 193 , 194 ) , ( 193 , 197 ) , ( 194 , 1 ) , ( 194 , 2 ) , ( 194 , 11 ) , ( 194 , 12 ) , ( 194 , 13 ) , ( 194 , 14 ) , ( 194 , 15 ) , ( 194 , 16 ) , ( 194 , 17 ) , ( 194 , 18 ) , ( 194 , 19 ) , ( 194 , 20 ) , ( 194 , 22 ) , ( 194 , 23 ) , ( 194 , 25 ) , ( 194 , 26 ) , ( 194 , 27 ) , ( 194 , 28 ) , ( 194 , 29 ) , ( 194 , 30 ) , ( 194 , 31 ) , ( 194 , 32 ) , ( 194 , 33 ) , ( 194 , 34 ) , ( 194 , 35 ) , ( 194 , 36 ) , ( 194 , 37 ) , ( 194 , 38 ) , ( 194 , 39 ) , ( 194 , 40 ) , ( 194 , 41 ) , ( 194 , 44 ) , ( 194 , 46 ) , ( 194 , 47 ) , ( 194 , 51 ) , ( 194 , 195 ) , ( 194 , 198 ) , ( 194 , 632 ) , ( 194 , 798 ) , ( 195 , 3 ) , ( 195 , 4 ) , ( 195 , 5 ) , ( 195 , 6 ) , ( 195 , 24 ) , ( 195 , 49 ) , ( 195 , 199 ) , ( 196 , 10 ) , ( 196 , 200 ) , ( 196 , 201 ) , ( 196 , 208 ) , ( 196 , 212 ) , ( 196 , 213 ) , ( 196 , 214 ) , ( 196 , 215 ) , ( 196 , 216 ) , ( 196 , 226 ) , ( 196 , 227 ) , ( 196 , 230 ) , ( 196 , 231 ) , ( 196 , 233 ) , ( 196 , 234 ) , ( 196 , 235 ) , ( 196 , 238 ) , ( 196 , 239 ) , ( 196 , 240 ) , ( 196 , 241 ) , ( 196 , 242 ) , ( 196 , 243 ) , ( 196 , 244 ) , ( 196 , 245 ) , ( 196 , 246 ) , ( 196 , 247 ) , ( 196 , 248 ) , ( 196 , 249 ) , ( 196 , 250 ) , ( 196 , 251 ) , ( 196 , 252 ) , ( 196 , 253 ) , ( 196 , 254 ) , ( 196 , 255 ) , ( 196 , 256 ) , ( 196 , 257 ) , ( 196 , 258 ) , ( 196 , 259 ) , ( 196 , 260 ) , ( 196 , 261 ) , ( 196 , 262 ) , ( 196 , 264 ) , ( 196 , 265 ) , ( 196 , 266 ) , ( 196 , 267 ) , ( 196 , 268 ) , ( 196 , 269 ) , ( 196 , 270 ) , ( 196 , 271 ) , ( 196 , 272 ) , ( 196 , 279 ) , ( 196 , 280 ) , ( 196 , 283 ) , ( 196 , 287 ) , ( 196 , 288 ) , ( 196 , 289 ) , ( 196 , 290 ) , ( 196 , 291 ) , ( 196 , 292 ) , ( 196 , 293 ) , ( 196 , 294 ) , ( 196 , 295 ) , ( 196 , 296 ) , ( 196 , 297 ) , ( 196 , 298 ) , ( 196 , 299 ) , ( 196 , 302 ) , ( 196 , 303 ) , ( 196 , 304 ) , ( 196 , 305 ) , ( 196 , 306 ) , ( 196 , 307 ) , ( 196 , 308 ) , ( 196 , 309 ) , ( 196 , 310 ) , ( 196 , 313 ) , ( 196 , 314 ) , ( 196 , 319 ) , ( 196 , 320 ) , ( 196 , 321 ) , ( 196 , 322 ) , ( 196 , 323 ) , ( 196 , 324 ) , ( 196 , 325 ) , ( 196 , 326 ) , ( 196 , 327 ) , ( 196 , 328 ) , ( 196 , 329 ) , ( 196 , 330 ) , ( 196 , 331 ) , ( 196 , 332 ) , ( 196 , 333 ) , ( 196 , 334 ) , ( 196 , 335 ) , ( 196 , 336 ) , ( 196 , 337 ) , ( 196 , 338 ) , ( 196 , 339 ) , ( 196 , 340 ) , ( 196 , 341 ) , ( 196 , 342 ) , ( 196 , 343 ) , ( 196 , 344 ) , ( 196 , 345 ) , ( 196 , 346 ) , ( 196 , 347 ) , ( 196 , 348 ) , ( 196 , 349 ) , ( 196 , 350 ) , ( 196 , 351 ) , ( 196 , 352 ) , ( 196 , 353 ) , ( 196 , 354 ) , ( 196 , 355 ) , ( 196 , 356 ) , ( 196 , 357 ) , ( 196 , 358 ) , ( 196 , 359 ) , ( 196 , 360 ) , ( 196 , 361 ) , ( 196 , 362 ) , ( 196 , 363 ) , ( 196 , 364 ) , ( 196 , 365 ) , ( 196 , 366 ) , ( 196 , 373 ) , ( 196 , 375 ) , ( 196 , 400 ) , ( 196 , 401 ) , ( 196 , 402 ) , ( 196 , 403 ) , ( 196 , 404 ) , ( 196 , 405 ) , ( 196 , 406 ) , ( 196 , 407 ) , ( 196 , 417 ) , ( 196 , 418 ) , ( 196 , 419 ) , ( 196 , 420 ) , ( 196 , 421 ) , ( 196 , 422 ) , ( 196 , 423 ) , ( 196 , 424 ) , ( 196 , 425 ) , ( 196 , 426 ) , ( 196 , 427 ) , ( 196 , 428 ) , ( 196 , 429 ) , ( 196 , 434 ) , ( 196 , 435 ) , ( 196 , 436 ) , ( 196 , 437 ) , ( 196 , 438 ) , ( 196 , 439 ) , ( 196 , 440 ) , ( 196 , 441 ) , ( 196 , 442 ) , ( 196 , 443 ) , ( 196 , 444 ) , ( 196 , 445 ) , ( 196 , 446 ) , ( 196 , 447 ) , ( 196 , 448 ) , ( 196 , 449 ) , ( 196 , 450 ) , ( 196 , 451 ) , ( 196 , 452 ) , ( 196 , 453 ) , ( 196 , 454 ) , ( 196 , 455 ) , ( 196 , 456 ) , ( 196 , 457 ) , ( 196 , 458 ) , ( 196 , 459 ) , ( 196 , 461 ) , ( 196 , 463 ) , ( 196 , 464 ) , ( 196 , 465 ) , ( 196 , 472 ) , ( 196 , 473 ) , ( 196 , 474 ) , ( 196 , 475 ) , ( 196 , 476 ) , ( 196 , 477 ) , ( 196 , 478 ) , ( 196 , 488 ) , ( 196 , 489 ) , ( 196 , 491 ) , ( 196 , 492 ) , ( 196 , 493 ) , ( 196 , 495 ) , ( 196 , 497 ) , ( 196 , 498 ) , ( 196 , 499 ) , ( 196 , 500 ) , ( 196 , 502 ) , ( 196 , 503 ) , ( 196 , 505 ) , ( 196 , 508 ) , ( 196 , 511 ) , ( 196 , 513 ) , ( 196 , 514 ) , ( 196 , 516 ) , ( 196 , 519 ) , ( 196 , 522 ) , ( 196 , 523 ) , ( 196 , 526 ) , ( 196 , 527 ) , ( 196 , 529 ) , ( 196 , 530 ) , ( 196 , 533 ) , ( 196 , 535 ) , ( 196 , 536 ) , ( 196 , 537 ) , ( 196 , 538 ) , ( 196 , 539 ) , ( 196 , 540 ) , ( 196 , 541 ) , ( 196 , 556 ) , ( 196 , 581 ) , ( 196 , 582 ) , ( 196 , 592 ) , ( 196 , 593 ) , ( 196 , 596 ) , ( 196 , 602 ) , ( 196 , 603 ) , ( 196 , 604 ) , ( 196 , 605 ) , ( 196 , 606 ) , ( 196 , 607 ) , ( 196 , 608 ) , ( 196 , 609 ) , ( 196 , 610 ) , ( 196 , 611 ) , ( 196 , 612 ) , ( 196 , 613 ) , ( 196 , 615 ) , ( 196 , 616 ) , ( 196 , 617 ) , ( 196 , 618 ) , ( 196 , 619 ) , ( 196 , 620 ) , ( 196 , 621 ) , ( 196 , 623 ) , ( 196 , 624 ) , ( 196 , 625 ) , ( 196 , 626 ) , ( 196 , 627 ) , ( 196 , 628 ) , ( 196 , 629 ) , ( 196 , 630 ) , ( 196 , 631 ) , ( 196 , 633 ) , ( 196 , 634 ) , ( 196 , 635 ) , ( 196 , 636 ) , ( 196 , 637 ) , ( 196 , 638 ) , ( 196 , 639 ) , ( 196 , 640 ) , ( 196 , 641 ) , ( 196 , 642 ) , ( 196 , 643 ) , ( 196 , 644 ) , ( 196 , 645 ) , ( 196 , 646 ) , ( 196 , 647 ) , ( 196 , 648 ) , ( 196 , 649 ) , ( 196 , 650 ) , ( 196 , 651 ) , ( 196 , 652 ) , ( 196 , 653 ) , ( 196 , 654 ) , ( 196 , 655 ) , ( 196 , 656 ) , ( 196 , 657 ) , ( 196 , 658 ) , ( 196 , 659 ) , ( 196 , 660 ) , ( 196 , 661 ) , ( 196 , 663 ) , ( 196 , 665 ) , ( 196 , 666 ) , ( 196 , 667 ) , ( 196 , 668 ) , ( 196 , 669 ) , ( 196 , 670 ) , ( 196 , 671 ) , ( 196 , 672 ) , ( 196 , 673 ) , ( 196 , 674 ) , ( 196 , 675 ) , ( 196 , 676 ) , ( 196 , 677 ) , ( 196 , 678 ) , ( 196 , 679 ) , ( 196 , 680 ) , ( 196 , 681 ) , ( 196 , 682 ) , ( 196 , 683 ) , ( 196 , 684 ) , ( 196 , 685 ) , ( 196 , 686 ) , ( 196 , 687 ) , ( 196 , 688 ) , ( 196 , 689 ) , ( 196 , 690 ) , ( 196 , 691 ) , ( 196 , 693 ) , ( 196 , 694 ) , ( 196 , 695 ) , ( 196 , 696 ) , ( 196 , 697 ) , ( 196 , 698 ) , ( 196 , 699 ) , ( 196 , 700 ) , ( 196 , 701 ) , ( 196 , 702 ) , ( 196 , 703 ) , ( 196 , 704 ) , ( 196 , 705 ) , ( 196 , 706 ) , ( 196 , 707 ) , ( 196 , 708 ) , ( 196 , 709 ) , ( 196 , 710 ) , ( 196 , 711 ) , ( 196 , 712 ) , ( 196 , 713 ) , ( 196 , 714 ) , ( 196 , 715 ) , ( 196 , 716 ) , ( 196 , 717 ) , ( 196 , 718 ) , ( 196 , 719 ) , ( 1
2013-09-29 14:15:58 +02:00
/* !40000 ALTER TABLE `rbac_linked_permissions` ENABLE KEYS */ ;
2013-02-04 16:08:07 +00:00
UNLOCK TABLES ;
--
-- Table structure for table `rbac_permissions`
--
DROP TABLE IF EXISTS ` rbac_permissions ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` rbac_permissions ` (
` id ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Permission id ' ,
` name ` varchar ( 100 ) NOT NULL COMMENT ' Permission name ' ,
PRIMARY KEY ( ` id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' Permission List ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `rbac_permissions`
--
LOCK TABLES ` rbac_permissions ` WRITE ;
/* !40000 ALTER TABLE `rbac_permissions` DISABLE KEYS */ ;
2016-09-03 18:12:40 +02:00
INSERT INTO ` rbac_permissions ` VALUES ( 1 , ' Instant logout ' ) , ( 2 , ' Skip Queue ' ) , ( 3 , ' Join Normal Battleground ' ) , ( 4 , ' Join Random Battleground ' ) , ( 5 , ' Join Arenas ' ) , ( 6 , ' Join Dungeon Finder ' ) , ( 10 , ' Use character templates ' ) , ( 11 , ' Log GM trades ' ) , ( 12 , ' Skip character creation demon hunter min level check ' ) , ( 13 , ' Skip Instance required bosses check ' ) , ( 14 , ' Skip character creation team mask check ' ) , ( 15 , ' Skip character creation class mask check ' ) , ( 16 , ' Skip character creation race mask check ' ) , ( 17 , ' Skip character creation reserved name check ' ) , ( 18 , ' Skip character creation heroic min level check ' ) , ( 19 , ' Skip needed requirements to use channel check ' ) , ( 20 , ' Skip disable map check ' ) , ( 21 , ' Skip reset talents when used more than allowed check ' ) , ( 22 , ' Skip spam chat check ' ) , ( 23 , ' Skip over-speed ping check ' ) , ( 24 , ' Two side faction characters on the same account ' ) , ( 25 , ' Allow say chat between factions ' ) , ( 26 , ' Allow channel chat between factions ' ) , ( 27 , ' Two side mail interaction ' ) , ( 28 , ' See two side who list ' ) , ( 29 , ' Add friends of other faction ' ) , ( 30 , ' Save character without delay with .save command ' ) , ( 31 , ' Use params with .unstuck command ' ) , ( 32 , ' Can be assigned tickets with .assign ticket command ' ) , ( 33 , ' Notify if a command was not found ' ) , ( 34 , ' Check if should appear in list using .gm ingame command ' ) , ( 35 , ' See all security levels with who command ' ) , ( 36 , ' Filter whispers ' ) , ( 37 , ' Use staff badge in chat ' ) , ( 38 , ' Resurrect with full Health Points ' ) , ( 39 , ' Restore saved gm setting states ' ) , ( 40 , ' Allows to add a gm to friend list ' ) , ( 41 , ' Use Config option START_GM_LEVEL to assign new character level ' ) , ( 42 , ' Allows to use CMSG_WORLD_TELEPORT opcode ' ) , ( 43 , ' Allows to use CMSG_WHOIS opcode ' ) , ( 44 , ' Receive global GM messages/texts ' ) , ( 45 , ' Join channels without announce ' ) , ( 46 , ' Change channel settings without being channel moderator ' ) , ( 47 , ' Enables lower security than target check ' ) , ( 48 , ' Enable IP, Last Login and EMail output in pinfo ' ) , ( 49 , ' Forces to enter the email for confirmation on password change ' ) , ( 50 , ' Allow user to check his own email with .account ' ) , ( 51 , ' Allow trading between factions ' ) , ( 192 , ' Role: Sec Level Administrator ' ) , ( 193 , ' Role: Sec Level Gamemaster ' ) , ( 194 , ' Role: Sec Level Moderator ' ) , ( 195 , ' Role: Sec Level Player ' ) , ( 196 , ' Role: Administrator Commands ' ) , ( 197 , ' Role: Gamemaster Commands ' ) , ( 198 , ' Role: Moderator Commands ' ) , ( 199 , ' Role: Player Commands ' ) , ( 200 , ' Command: rbac ' ) , ( 201 , ' Command: rbac account ' ) , ( 202 , ' Command: rbac account list ' ) , ( 203 , ' Command: rbac account grant ' ) , ( 204 , ' Command: rbac account deny ' ) , ( 205 , ' Command: rbac account revoke ' ) , ( 206 , ' Command: rbac list ' ) , ( 207 , ' Command: battlenetaccount ' ) , ( 208 , ' Command: battlenetaccount create ' ) , ( 209 , ' Command: battlenetaccount lock country ' ) , ( 210 , ' Command: battlenetaccount lock ip ' ) , ( 211 , ' Command: battlenetaccount password ' ) , ( 212 , ' Command: battlenetaccount set ' ) , ( 213 , ' Command: battlenetaccount set password ' ) , ( 214 , ' Command: bnetaccount link ' ) , ( 215 , ' Command: bnetaccount unlink ' ) , ( 216 , ' Command: bnetaccount gameaccountcreate ' ) , ( 217 , ' Command: account ' ) , ( 218 , ' Command: account addon ' ) , ( 219 , ' Command: account create ' ) , ( 220 , ' Command: account delete ' ) , ( 221 , ' Command: account lock ' ) , ( 222 , ' Command: account lock country ' ) , ( 223 , ' Command: account lock ip ' ) , ( 224 , ' Command: account onlinelist ' ) , ( 225 , ' Command: account password ' ) , ( 226 , ' Command: account set ' ) , ( 227 , ' Command: account set addon ' ) , ( 228 , ' Command: account set gmlevel ' ) , ( 229 , ' Command: account set password ' ) , ( 230 , ' Command: achievement ' ) , ( 231 , ' Command: achievement add ' ) , ( 232 , ' Command: arena ' ) , ( 233 , ' Command: arena captain ' ) , ( 234 , ' Command: arena create ' ) , ( 235 , ' Command: arena disband ' ) , ( 236 , ' Command: arena info ' ) , ( 237 , ' Command: arena lookup ' ) , ( 238 , ' Command: arena rename ' ) , ( 239 , ' Command: ban ' ) , ( 240 , ' Command: ban account ' ) , ( 241 , ' Command: ban character ' ) , ( 242 , ' Command: ban ip ' ) , ( 243 , ' Command: ban playeraccount ' ) , ( 244 , ' Command: baninfo ' ) , ( 245 , ' Command: baninfo account ' ) , ( 246 , ' Command: baninfo character ' ) , ( 247 , ' Command: baninfo ip ' ) , ( 248 , ' Command: banlist ' ) , ( 249 , ' Command: banlist account ' ) , ( 250 , ' Command: banlist character ' ) , ( 251 , ' Command: banlist ip ' ) , ( 252 , ' Command: unban ' ) , ( 253 , ' Command: unban acc
2013-02-04 16:08:07 +00:00
/*!40000 ALTER TABLE `rbac_permissions` ENABLE KEYS */;
UNLOCK TABLES;
2008-10-02 16:23:55 -05:00
--
-- Table structure for table `realmcharacters`
--
DROP TABLE IF EXISTS `realmcharacters`;
2010-02-01 18:52:42 +01:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
2008-10-02 16:23:55 -05:00
CREATE TABLE `realmcharacters` (
2012-05-30 08:01:02 +02:00
`realmid` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`acctid` int(10) unsigned NOT NULL,
2012-02-19 13:21:14 +01:00
`numchars` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`realmid`,`acctid`),
KEY `acctid` (`acctid`)
2012-05-30 08:01:02 +02:00
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT= ' Realm Character Tracker ' ;
2010-02-01 18:52:42 +01:00
/*!40101 SET character_set_client = @saved_cs_client */;
2008-10-02 16:23:55 -05:00
--
-- Dumping data for table `realmcharacters`
--
LOCK TABLES `realmcharacters` WRITE;
/*!40000 ALTER TABLE `realmcharacters` DISABLE KEYS */;
/*!40000 ALTER TABLE `realmcharacters` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `realmlist`
--
DROP TABLE IF EXISTS `realmlist`;
2010-02-01 18:52:42 +01:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
2008-10-02 16:23:55 -05:00
CREATE TABLE `realmlist` (
2012-05-30 08:01:02 +02:00
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
2012-02-19 13:21:14 +01:00
`name` varchar(32) NOT NULL DEFAULT '' ,
2012-04-05 17:38:13 +01:00
`address` varchar(255) NOT NULL DEFAULT ' 127 . 0 . 0 . 1 ' ,
2013-01-27 17:33:01 +01:00
`localAddress` varchar(255) NOT NULL DEFAULT ' 127 . 0 . 0 . 1 ' ,
`localSubnetMask` varchar(255) NOT NULL DEFAULT ' 255 . 255 . 255 . 0 ' ,
2012-05-30 08:01:02 +02:00
`port` smallint(5) unsigned NOT NULL DEFAULT ' 8085 ' ,
2012-02-19 13:21:14 +01:00
`icon` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
2012-05-30 08:01:02 +02:00
`flag` tinyint(3) unsigned NOT NULL DEFAULT ' 2 ' ,
2012-02-19 13:21:14 +01:00
`timezone` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`population` float unsigned NOT NULL DEFAULT ' 0 ' ,
2016-09-15 16:31:43 +02:00
`gamebuild` int(10) unsigned NOT NULL DEFAULT ' 22594 ' ,
2014-05-06 23:43:29 +02:00
`Region` tinyint(3) unsigned NOT NULL DEFAULT ' 2 ' ,
`Battlegroup` tinyint(3) unsigned NOT NULL DEFAULT ' 1 ' ,
2012-02-19 13:21:14 +01:00
PRIMARY KEY (`id`),
2008-10-02 16:23:55 -05:00
UNIQUE KEY `idx_name` (`name`)
2016-07-19 16:55:21 +02:00
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT= ' Realm System ' ;
2010-02-01 18:52:42 +01:00
/*!40101 SET character_set_client = @saved_cs_client */;
2008-10-02 16:23:55 -05:00
--
-- Dumping data for table `realmlist`
--
LOCK TABLES `realmlist` WRITE;
/*!40000 ALTER TABLE `realmlist` DISABLE KEYS */;
2016-09-15 16:31:43 +02:00
INSERT INTO `realmlist` VALUES (1, ' Trinity ' , ' 127 . 0 . 0 . 1 ' , ' 127 . 0 . 0 . 1 ' , ' 255 . 255 . 255 . 0 ' ,8085,0,2,1,0,0,22594,2,1);
2008-10-02 16:23:55 -05:00
/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
UNLOCK TABLES;
2009-03-26 14:02:11 -06:00
2015-03-21 17:09:25 +00:00
--
-- Table structure for table `updates`
--
DROP TABLE IF EXISTS `updates`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `updates` (
`name` varchar(200) NOT NULL COMMENT ' filename with extension of the update . ' ,
`hash` char(40) DEFAULT '' COMMENT ' sha1 hash of the sql file . ' ,
`state` enum( ' RELEASED ' , ' ARCHIVED ' ) NOT NULL DEFAULT ' RELEASED ' COMMENT ' defines if an update is released or archived . ' ,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT ' timestamp when the query was applied . ' ,
`speed` int(10) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' time the query takes to apply in ms . ' ,
PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT= ' List of all applied updates in this database . ' ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `updates`
--
LOCK TABLES `updates` WRITE;
/*!40000 ALTER TABLE `updates` DISABLE KEYS */;
2016-09-15 16:31:43 +02:00
INSERT INTO `updates` VALUES ( ' 2014 _10_04_00_auth . sql ' , ' C3BC70A6EC381474B7308F442346F1E721176BC6 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _10_19_00_auth . sql ' , ' 7472 B490A4F86C9D3DA609CDD3197499CB80C87C ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _10_26_00_auth . sql ' , ' 75 CC67ADE2A3B2E54FD57D6B0DCAA8FE50F4EE35 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _11_03_00_auth . sql ' , ' 5948 C9F286CF0FEA8E241785C0259FF36B73BDC5 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _11_04_00_auth . sql ' , ' 3 AFC68B2375C2A417DDEA94583C53AFF83DE50DF ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _11_09_00_auth . sql ' , ' B8DD1A7047C0FDDB80344B239343EC33BF1A0D97 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _11_10_00_auth . sql ' , ' 8 FBA737A1D3FF4631A1E662A5B500A8BD304EC63 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _11_10_00_auth_from_335 . sql ' , ' 0 E3CB119442D09DD88E967015319BBC8DAFBBFE0 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _11_10_01_auth . sql ' , ' 327 E77A1DA3546D5275AB249915DD57EDD6FDD3D ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _11_23_00_auth . sql ' , ' 0 BBEB3EB3AED0FEF277A062819B6B2C00084A742 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _11_25_00_auth . sql ' , ' 4 F45CDB26BDBB3EE83F1988E3D7818C5926ADC02 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _12_05_00_auth . sql ' , ' 6 A7BBCEF43111C73A2D2C3CCB6911BE50DE7DD94 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _12_10_00_auth . sql ' , ' 821703 A96D80F9080074852B5A46E2909C9562EA ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _12_19_00_auth . sql ' , ' 44 D8E12FFF327AD07878FBDF8D9C16B6B7DCB122 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _12_20_00_auth . sql ' , ' 4 DAA02AE285C02AE6C82EA2C8B97AC71990F1085 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _12_25_00_auth . sql ' , ' 61411930 F482BC73FC7FD2C370C811E944F5FF92 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _12_27_00_auth . sql ' , ' CE2E5D2CD82E79C25294539ADED27A1429105B43 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2014 _12_28_00_auth . sql ' , ' 0 A913217610E76AFF119C27259737BBC523090E6 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2015 _02_22_00_auth . sql ' , ' 21 CCCF8B01252E16CA3D6C9E3E8DAA4C9B28ED6E ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2015 _03_01_00_auth . sql ' , ' 911881 E273207FF6182D1FDAC8C85FFAE8F1C852 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2015 _03_10_00_auth . sql ' , ' 2 CC8502C11412EFEB5C11BE166761A8754A59009 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2015 _03_20_00_auth . sql ' , ' B761760804EA73BD297F296C5C1919687DF7191C ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2015 _03_20_01_auth . sql ' , ' 5 CCEDF20C8189FB1E8DF064A9F0DDC342841FBF0 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 55 : 52 ' ,0),( ' 2015 _03_20_02_auth . sql ' , ' 85 E4ACD9AA099C0C4AC034575F2BB07D348EAC72 ' , ' ARCHIVED ' , ' 2015 - 03 - 21 16 : 56 : 46 ' ,0),( ' 2015 _03_15_00_auth . sql ' , ' 1 D8E107FBEFE5E7F47E09F45240DFF499B77CDED ' , ' ARCHIVED ' , ' 2015 - 05 - 02 13 : 57 : 57 ' ,0),( ' 2015 _03_26_00_auth . sql ' , ' 34 AC8543E6A9C6C832DE58EAB33618EEEF70B9F9 ' , ' ARCHIVED ' , ' 2015 - 05 - 02 13 : 57 : 57 ' ,0),( ' 2015 _04_04_00_auth . sql ' , ' 57146 B35E54A2EC7869C945034AB078358020311 ' , ' ARCHIVED ' , ' 2015 - 05 - 02 13 : 57 : 57 ' ,0),( ' 2015 _04_06_00_auth . sql ' , ' 2 A8049DC2923420A002D42FB6F02C2FFCC5CDD22 ' , ' ARCHIVED ' , ' 2015 - 05 - 02 13 : 57 : 57 ' ,0),( ' 2015 _04_08_00_auth . sql ' , ' 4 D7D8EEF285C982BB676836602266501BEC26764 ' , ' ARCHIVED ' , ' 2015 - 05 - 02 13 : 57 : 57 ' ,0),( ' 2015 _04_10_00_auth . sql ' , ' 4 AE68FD97A95CEE5143EA20FD33F5D557367AC1F ' , ' ARCHIVED ' , ' 2015 - 05 - 02 13 : 57 : 57 ' ,0),( ' 2015 _04_11_00_auth . sql ' , ' 80 A71C8921CFEBB547D264558B6DE27201685B84 ' , ' ARCHIVED ' , ' 2015 - 05 - 02 13 : 57 : 57 ' ,0),( ' 2015 _04_11_01_auth . sql ' , ' 3 E88183E1A85D11BFD74CF9A32A725C44AE02EEC ' , ' ARCHIVED ' , ' 2015 - 05 - 02 13 : 57 : 57 ' ,0),( ' 2015 _04_21_00_auth . sql ' , ' 1 B3B48DBA06368B985C548D166C515C9DD598CB9 ' , ' ARCHIVED ' , ' 2015 - 05 - 02 13 : 57 : 57 ' ,0),( ' 2015 _05_02_00_auth . sql ' , ' 96 AB595E0D2A088750E3F48B0AF0A8A14F3CFE1E ' , ' ARCHIVED ' , ' 2015 - 05 - 02 13 : 57 : 57 ' ,0),( ' 2015 _05_02_01_auth . sql ' , ' FB11FB834E488B0FD3AFDABCC1A3113092E7C2E5 ' , ' ARCHIVED ' , ' 2015 - 05 - 02 13 : 57 : 57 ' ,0),( ' 2015 _07_02_00_auth . sql ' , ' E5EE3842AB9B01851E49B360FBAF6FFEEAB2A8DA ' , ' ARCHIVED ' , ' 2015 - 07 - 10 19 : 30 : 56 ' ,0),( ' 2015 _07_06_00_auth . sql ' , ' 6 D1ADBA496DC6E6D7B3BF887DA8D4D17D3FBACE0 ' , ' ARCHIVED ' , ' 2015 - 07 - 10 19 : 30 : 56 ' ,0),( ' 2015 _07_08_00_auth . sql ' , ' CB54020AFD1E31742FD8BF9CE16879625E289788 ' , ' ARCHIVED ' , ' 2015 - 07 - 10 19 : 30 : 56 ' ,0),( ' 2015 _07_08_01_auth . sql ' , ' 74 D281CB82E0DA36D628BDC7AC797AE5498DB461
2015-03-21 17:09:25 +00:00
/* !40000 ALTER TABLE `updates` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `updates_include`
--
DROP TABLE IF EXISTS ` updates_include ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` updates_include ` (
` path ` varchar ( 200 ) NOT NULL COMMENT ' directory to include. $ means relative to the source directory. ' ,
` state ` enum ( ' RELEASED ' , ' ARCHIVED ' ) NOT NULL DEFAULT ' RELEASED ' COMMENT ' defines if the directory contains released or archived updates. ' ,
PRIMARY KEY ( ` path ` )
) ENGINE = MyISAM DEFAULT CHARSET = utf8 COMMENT = ' List of directories where we want to include sql updates. ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `updates_include`
--
LOCK TABLES ` updates_include ` WRITE ;
/* !40000 ALTER TABLE `updates_include` DISABLE KEYS */ ;
INSERT INTO ` updates_include ` VALUES ( ' $/sql/updates/auth ' , ' RELEASED ' ) , ( ' $/sql/custom/auth ' , ' RELEASED ' ) , ( ' $/sql/old/6.x/auth ' , ' ARCHIVED ' ) ;
/* !40000 ALTER TABLE `updates_include` ENABLE KEYS */ ;
UNLOCK TABLES ;
2009-03-26 14:02:11 -06:00
--
-- Table structure for table `uptime`
--
DROP TABLE IF EXISTS ` uptime ` ;
2010-02-01 18:52:42 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2009-03-26 14:02:11 -06:00
CREATE TABLE ` uptime ` (
2012-05-30 08:01:02 +02:00
` realmid ` int ( 10 ) unsigned NOT NULL ,
` starttime ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` uptime ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
2012-02-19 13:21:14 +01:00
` maxplayers ` smallint ( 5 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` revision ` varchar ( 255 ) NOT NULL DEFAULT ' Trinitycore ' ,
PRIMARY KEY ( ` realmid ` , ` starttime ` )
2012-05-30 08:01:02 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT = ' Uptime system ' ;
2010-02-01 18:52:42 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2009-03-26 14:02:11 -06:00
--
-- Dumping data for table `uptime`
--
LOCK TABLES ` uptime ` WRITE ;
/* !40000 ALTER TABLE `uptime` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `uptime` ENABLE KEYS */ ;
UNLOCK TABLES ;
2008-10-02 16:23:55 -05:00
/* !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 */ ;
/* !40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */ ;
/* !40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */ ;
/* !40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */ ;
/* !40111 SET SQL_NOTES=@OLD_SQL_NOTES */ ;
2016-09-03 18:12:40 +02:00
-- Dump completed on 2016-09-03 17:56:56