File

tools/migration/migrator.cfg.lua @ 9864:9d80e679c371

util.serialization: Allow overriding table iterator Could be useful to eg swap it out with sorted_pairs to get a stable serialization. Default to next() wrapper to avoid metatable tricks from pairs().
author Kim Alvefur <zash@zash.se>
date Sun, 17 Mar 2019 21:16:27 +0100
parent 4211:9a12fc2baa37
child 10003:4d702f0c6273
line wrap: on
line source

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

input {
	type = "prosody_files";
	path = data_path;
}

output {
	type = "prosody_sql";
	driver = "SQLite3";
	database = data_path.."/prosody.sqlite";
}

--[[

input {
	type = "prosody_files";
	path = data_path;
}
output {
	type = "prosody_sql";
	driver = "SQLite3";
	database = data_path.."/prosody.sqlite";
}

]]