diff options
author | Kim Alvefur <zash@zash.se> | 2017-11-21 23:16:16 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-11-21 23:16:16 +0100 |
commit | 4264d7dcbe2a14ba91cfb4e5b137a1e931e86868 (patch) | |
tree | 7f362f92509f4d7255b9feafe1264bbe58aa4f64 /plugins | |
parent | 170cc278f95862ce3a202291abed8bb7a7c16e80 (diff) | |
parent | fa77fa5b164bb7d4fdfbe85ccc9b48ad1f95b025 (diff) | |
download | prosody-4264d7dcbe2a14ba91cfb4e5b137a1e931e86868.tar.gz prosody-4264d7dcbe2a14ba91cfb4e5b137a1e931e86868.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_storage_sql.lua | 2 |
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); |