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 | 852564c14e0287396b9f544374b89b1fdec373be (patch) | |
tree | 6a72ecc0645c30989da832b860e20f0cc2868cb0 /plugins/mod_storage_sql.lua | |
parent | 2a1cee5c5034e39f7465903354dce2bb8e8e29ef (diff) | |
download | prosody-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/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 }; |