diff options
author | Kim Alvefur <zash@zash.se> | 2017-12-11 22:45:03 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-12-11 22:45:03 +0100 |
commit | d69999628d1879ca64ba6987dfae749b15db7385 (patch) | |
tree | 6a72ecc0645c30989da832b860e20f0cc2868cb0 /plugins/mod_storage_sql.lua | |
parent | eab319deaf68a2489296153dd53cb4ff44db0060 (diff) | |
download | prosody-d69999628d1879ca64ba6987dfae749b15db7385.tar.gz prosody-d69999628d1879ca64ba6987dfae749b15db7385.zip |
mod_storage_sql: Remove ability to override name of key-value table (unreachable and would not work)
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 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 }; |