migrator: Also migrate host/non-user archive data
Needed for things like mod_http_file_share
--- a/tools/migration/prosody-migrator.lua Sun Jan 09 15:50:21 2022 +0100
+++ b/tools/migration/prosody-migrator.lua Sun Jan 09 15:52:50 2022 +0100
@@ -202,9 +202,8 @@
local destination = assert(output_driver:open(store, typ));
local migrate = assert(migrate_once[typ], "Unknown store type: "..typ);
- if typ == "keyval" then -- host data
- migrate(origin, destination, nil);
- end
+
+ migrate(origin, destination, nil); -- host data
for user in users(origin, host) do
migrate(origin, destination, user);