mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_storage_sql: Index over contact and timestamp (happy now Ge0rg?)
This commit is contained in:
parent
ea34ed2c8b
commit
cf3af7a85c
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue