aboutsummaryrefslogtreecommitdiff
path: root/sql/base
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2011-01-24 11:20:30 +0100
committerShauren <shauren.trinity@gmail.com>2011-01-24 11:20:30 +0100
commit464837077ad5621b5f040aa00ef2c49109da795a (patch)
treec97e5e86779a80eef37efbd3027f52aaa02c7a2e /sql/base
parente5b4f8e84d1230419e19d55f23b4fa754db4b5db (diff)
Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit)
Diffstat (limited to 'sql/base')
-rw-r--r--sql/base/characters_database.sql25
1 files changed, 25 insertions, 0 deletions
diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql
index 3ca227400db..c3569844e07 100644
--- a/sql/base/characters_database.sql
+++ b/sql/base/characters_database.sql
@@ -41,6 +41,31 @@ LOCK TABLES `account_data` WRITE;
UNLOCK TABLES;
--
+-- Table structure for table `account_instance_times`
+--
+
+DROP TABLE IF EXISTS `account_instance_times`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `account_instance_times` (
+ `accountId` int(10) unsigned NOT NULL,
+ `instanceId` int(10) unsigned NOT NULL DEFAULT '0',
+ `releaseTime` bigint(20) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`accountId`,`instanceId`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `account_instance_times`
+--
+
+LOCK TABLES `account_instance_times` WRITE;
+/*!40000 ALTER TABLE `account_instance_times` DISABLE KEYS */;
+/*!40000 ALTER TABLE `account_instance_times` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+--
-- Table structure for table `addons`
--