File

tools/migration/migrator.cfg.lua @ 12292:7fe5cd8a10e2

prosodyctl: Restore 'list --outdated' Parsing --flags puts it into 'opts', so --outdated wasn't passed to luarocks, breaking that functionality
author Kim Alvefur <zash@zash.se>
date Thu, 17 Feb 2022 01:39:35 +0100
parent 12168:33e856c65033
line wrap: on
line source

local data_path = "../../data";

local vhost = {
	"accounts",
	"account_details",
	"roster",
	"vcard",
	"private",
	"blocklist",
	"privacy",
	"archive-archive",
	"offline-archive",
	"pubsub_nodes-pubsub",
	"pep-pubsub",
}
local muc = {
	"persistent",
	"config",
	"state",
	"muc_log-archive",
};

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";
}

]]