Software /
code /
prosody
Changeset
12165:79a51a48bdaf
migrator: Also migrate host/non-user archive data
Needed for things like mod_http_file_share
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 09 Jan 2022 15:52:50 +0100 |
parents | 12164:85f03b29ec72 |
children | 12166:39483b4099b4 |
files | tools/migration/prosody-migrator.lua |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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);