aboutsummaryrefslogtreecommitdiff
path: root/engine/schema
diff options
context:
space:
mode:
Diffstat (limited to 'engine/schema')
-rw-r--r--engine/schema/mysql.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index b9dc633ae..b756ed427 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -264,8 +264,10 @@ CREATE TABLE `prefix_users_apisessions` (
-- HMAC Cache protecting against Replay attacks
CREATE TABLE `prefix_hmac_cache` (
`hmac` varchar(255) NOT NULL,
+ `ts` int(11) NOT NULL,
- PRIMARY KEY (`hmac`)
+ PRIMARY KEY (`hmac`),
+ KEY `ts` (`ts`)
) ENGINE=MEMORY;
-- Datalists for things like db version