aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit852564c14e0287396b9f544374b89b1fdec373be (patch)
tree6a72ecc0645c30989da832b860e20f0cc2868cb0 /plugins
parent2a1cee5c5034e39f7465903354dce2bb8e8e29ef (diff)
downloadprosody-852564c14e0287396b9f544374b89b1fdec373be.tar.gz
prosody-852564c14e0287396b9f544374b89b1fdec373be.zip
mod_storage_sql: Remove ability to override name of key-value table (unreachable and would not work)
Diffstat (limited to 'plugins')
-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 };