diff -r 7ebaefc88b3d -r 5a802653d50d plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Sat Apr 01 19:45:37 2017 +0200 +++ b/plugins/mod_storage_sql.lua Sat Apr 01 19:45:47 2017 +0200 @@ -567,7 +567,7 @@ if command == "upgrade" then -- We need to find every unique dburi in the config local uris = {}; - for host in pairs(prosody.hosts) do + for host in pairs(prosody.hosts) do -- luacheck: ignore 431/host local params = normalize_params(config.get(host, "sql") or default_params); uris[sql.db2uri(params)] = params; end