Diff

tools/migration/config.lua @ 4162:af720a91aa19

tools/migration/*: Initial commit of a new migration tool. Currently supports Prosody files and Prosody SQL as input and output.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 23 Feb 2011 02:16:19 +0500
child 4166:3ac90743039b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/migration/config.lua	Wed Feb 23 02:16:19 2011 +0500
@@ -0,0 +1,26 @@
+input {
+	type = "prosody_sql";
+	driver = "SQLite3";
+	database = "out.sqlite";
+}
+output {
+	type = "prosody_files";
+	path = "out";
+}
+
+--[[
+
+input {
+	path = "../../data";
+	type = "prosody_files";
+	driver = "SQLite3";
+	database = "../../prosody.sqlite";
+}
+output {
+	type = "prosody_sql";
+	driver = "SQLite3";
+	database = "out.sqlite";
+	path = "out";
+}
+
+]]