mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
migrator: Also migrate host/non-user archive data
Needed for things like mod_http_file_share
This commit is contained in:
parent
e9b2be9e44
commit
07c3f35ab8
1 changed files with 2 additions and 3 deletions
|
@ -202,9 +202,8 @@ local migration_runner = async.runner(function (job)
|
|||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue