Diff

tools/migration/migrator.cfg.lua @ 4211:9a12fc2baa37

tools/migration/*.lua: Rename config to migrator.cfg.lua, add error handling for config and command-line parameters
author Matthew Wild <mwild1@gmail.com>
date Fri, 25 Feb 2011 03:32:44 +0000
parent 4209:df753c398aa0
child 10003:4d702f0c6273
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/migration/migrator.cfg.lua	Fri Feb 25 03:32:44 2011 +0000
@@ -0,0 +1,26 @@
+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";
+}
+
+]]