File

tools/migration/migrator.cfg.lua @ 8946:3a095233e178

mod_pubsub: Handle optional item (thanks jonasw) The ‘item’ argument is optional, so it needs to handle it not being included, or util.stanza will throw an error in add_child
author Kim Alvefur <zash@zash.se>
date Thu, 28 Jun 2018 01:46:28 +0200
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";
}

]]