File

tools/migration/migrator.cfg.lua @ 5974:9ce0d246c851

tools/migration/migrator/prosody_files: Fix undefined global access of ‘error’, print the actual error message and correct file path in the error message when we fail to load a file, skip broken files instead of failing migration.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 03 Jan 2014 15:52:52 -0500
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";
}

]]