diff options
author | Kim Alvefur <zash@zash.se> | 2022-01-09 15:52:50 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-01-09 15:52:50 +0100 |
commit | 07c3f35ab8e11f758298706b6a1f6f85dcc7092c (patch) | |
tree | 8977dc70c0615add40e9a4b61bab321703a6b233 /tools/migration | |
parent | e9b2be9e444c35de0121e088e5fe857aea8397ef (diff) | |
download | prosody-07c3f35ab8e11f758298706b6a1f6f85dcc7092c.tar.gz prosody-07c3f35ab8e11f758298706b6a1f6f85dcc7092c.zip |
migrator: Also migrate host/non-user archive data
Needed for things like mod_http_file_share
Diffstat (limited to 'tools/migration')
-rw-r--r-- | tools/migration/prosody-migrator.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/migration/prosody-migrator.lua b/tools/migration/prosody-migrator.lua index bb8c8fdf..e50fcc76 100644 --- a/tools/migration/prosody-migrator.lua +++ b/tools/migration/prosody-migrator.lua @@ -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); |