diff options
author | Kim Alvefur <zash@zash.se> | 2017-12-22 01:02:05 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-12-22 01:02:05 +0100 |
commit | ceb2a46cf3b16fea2b8c6161f975e56c4ded69d6 (patch) | |
tree | ed5804b849fbe1b94e32827eec5cf5b2c0c79eda /plugins/mod_storage_sql.lua | |
parent | f7e7fb38d87366c65c43e87982928cb7b44d6b37 (diff) | |
parent | 0611c96a56d6121f1c0fac377d3e3fa6f76f49b8 (diff) | |
download | prosody-ceb2a46cf3b16fea2b8c6161f975e56c4ded69d6.tar.gz prosody-ceb2a46cf3b16fea2b8c6161f975e56c4ded69d6.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_storage_sql.lua')
-rw-r--r-- | plugins/mod_storage_sql.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index bc076e1d..87a71205 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -480,7 +480,7 @@ 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_with_when", "host", "user", "store", "with", "when" }; Index { name="prosodyarchive_when", "host", "user", "store", "when" }; }; engine:transaction(function() |