aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-12-11 22:45:03 +0100
committerKim Alvefur <zash@zash.se>2017-12-11 22:45:03 +0100
commitd69999628d1879ca64ba6987dfae749b15db7385 (patch)
tree6a72ecc0645c30989da832b860e20f0cc2868cb0
parenteab319deaf68a2489296153dd53cb4ff44db0060 (diff)
downloadprosody-d69999628d1879ca64ba6987dfae749b15db7385.tar.gz
prosody-d69999628d1879ca64ba6987dfae749b15db7385.zip
mod_storage_sql: Remove ability to override name of key-value table (unreachable and would not work)
-rw-r--r--plugins/mod_storage_sql.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index 8ec79983..bc076e1d 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -455,7 +455,7 @@ local function create_table(engine, name) -- luacheck: ignore 431/engine
local Table, Column, Index = sql.Table, sql.Column, sql.Index;
local ProsodyTable = Table {
- name= name or "prosody";
+ name = "prosody";
Column { name="host", type="TEXT", nullable=false };
Column { name="user", type="TEXT", nullable=false };
Column { name="store", type="TEXT", nullable=false };