aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
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/updates
parente5b4f8e84d1230419e19d55f23b4fa754db4b5db (diff)
Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit)
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/2011_01_24_0_characters_account_instance_times.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/2011_01_24_0_characters_account_instance_times.sql b/sql/updates/2011_01_24_0_characters_account_instance_times.sql
new file mode 100644
index 00000000000..72cde260a51
--- /dev/null
+++ b/sql/updates/2011_01_24_0_characters_account_instance_times.sql
@@ -0,0 +1,10 @@
+--
+-- Table structure for table `account_instance_times`
+--
+DROP TABLE IF EXISTS `account_instance_times`;
+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;