Software /
code /
prosody
File
tools/migration/migrator.cfg.lua @ 13295:b788307ca06a
migrator: Update default config template with new stores
* mod_authz_internal adds account_roles
* mod_cron has its state
* mod_smacks also has some non-critical state
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 01 Nov 2023 19:02:02 +0100 |
parent | 12168:33e856c65033 |
child | 13296:803a4ef6244d |
line wrap: on
line source
local data_path = "../../data"; local vhost = { "accounts", "account_details", "account_roles", "roster", "vcard", "private", "blocklist", "privacy", "archive-archive", "offline-archive", "pubsub_nodes-pubsub", "pep-pubsub", "cron", "smacks_h", } local muc = { "persistent", "config", "state", "muc_log-archive", "cron", }; input { hosts = { ["example.com"] = vhost; ["conference.example.com"] = muc; }; type = "internal"; path = data_path; } output { type = "sql"; driver = "SQLite3"; database = data_path.."/prosody.sqlite"; } --[[ input { type = "internal"; path = data_path; } output { type = "sql"; driver = "SQLite3"; database = data_path.."/prosody.sqlite"; } ]]