aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-11-21 23:16:16 +0100
committerKim Alvefur <zash@zash.se>2017-11-21 23:16:16 +0100
commitcbfe174fa4616d7a70fc1211cfa53c4d65555955 (patch)
tree7f362f92509f4d7255b9feafe1264bbe58aa4f64
parentfc8fcb69efd74afc072c04b05ca637616031d9f1 (diff)
parenta7693939d4e64dba7b80d5705c25e53b4602a935 (diff)
downloadprosody-cbfe174fa4616d7a70fc1211cfa53c4d65555955.tar.gz
prosody-cbfe174fa4616d7a70fc1211cfa53c4d65555955.zip
Merge 0.10->trunk
-rw-r--r--plugins/mod_storage_sql.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index a9f81844..8ec79983 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -480,6 +480,8 @@ local function create_table(engine, name) -- luacheck: ignore 431/engine
Column { name="type", type="TEXT", nullable=false };
Column { name="value", type="MEDIUMTEXT", nullable=false };
Index { name="prosodyarchive_index", unique = true, "host", "user", "store", "key" };
+ Index { name="prosodyarchive_with", "host", "user", "store", "with" };
+ Index { name="prosodyarchive_when", "host", "user", "store", "when" };
};
engine:transaction(function()
ProsodyArchiveTable:create(engine);