aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2025-04-11 09:47:23 +0200
committerKim Alvefur <zash@zash.se>2025-04-11 09:47:23 +0200
commitab082439029c2ba52fd967831989a008e7ea359b (patch)
tree489ba519046a4b5f34ede444f2ae308afbbe4be7 /plugins
parente631062beb9a2a416b9f2c5df8127d0991a8742d (diff)
parent7340c4e1f264712771933cb8455511fc09cda442 (diff)
downloadprosody-master.tar.gz
prosody-master.zip
Merge 13.0->trunkHEADorigin/mastermaster
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 e7b06f31..6d9af68a 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -883,7 +883,7 @@ local function upgrade_table(engine, params, apply_changes) -- luacheck: ignore
indices[row[1]] = true;
end
elseif params.driver == "PostgreSQL" then
- for row in engine:select [[SELECT "indexname" FROM "pg_indexes" WHERE "tablename"='prosody' AND "indexname"='prosody_index';]] do
+ for row in engine:select [[SELECT "indexname" FROM "pg_indexes" WHERE "tablename"='prosody';]] do
indices[row[1]] = true;
end
end