Software /
code /
prosody
Diff
plugins/mod_storage_sql.lua @ 8480:3d3706147174
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 22 Dec 2017 01:02:05 +0100 |
parent | 8470:81f894d08b17 |
parent | 8478:384658c7a26a |
child | 8537:d7f31badd359 |
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua Thu Dec 21 12:22:46 2017 -0500 +++ b/plugins/mod_storage_sql.lua Fri Dec 22 01:02:05 2017 +0100 @@ -480,7 +480,7 @@ 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()