aboutsummaryrefslogtreecommitdiffstats
path: root/tools/migration
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-02-25 01:29:31 +0000
committerMatthew Wild <mwild1@gmail.com>2011-02-25 01:29:31 +0000
commita33886bcb1257fb0629c64658036d232623c6d1e (patch)
treef7e8fe9502e27a8e5c59714230d345ae5547bad6 /tools/migration
parent1370dd825c4e38407c67636ab6f947a722457444 (diff)
downloadprosody-a33886bcb1257fb0629c64658036d232623c6d1e.tar.gz
prosody-a33886bcb1257fb0629c64658036d232623c6d1e.zip
tools/migration/config.lua: Minor fixes for more sensible defaults
Diffstat (limited to 'tools/migration')
-rw-r--r--tools/migration/config.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/migration/config.lua b/tools/migration/config.lua
index 3f2057f0..fa37f2a3 100644
--- a/tools/migration/config.lua
+++ b/tools/migration/config.lua
@@ -1,26 +1,26 @@
+local data_path = "../../data";
+
input {
- type = "prosody_sql";
- driver = "SQLite3";
- database = "out.sqlite";
+ type = "prosody_files";
+ path = data_path;
}
+
output {
- type = "prosody_files";
- path = "out";
+ type = "prosody_sql";
+ driver = "SQLite3";
+ database = data_path.."/prosody.sqlite";
}
--[[
input {
- path = "../../data";
type = "prosody_files";
- driver = "SQLite3";
- database = "../../prosody.sqlite";
+ path = data_path;
}
output {
type = "prosody_sql";
driver = "SQLite3";
- database = "out.sqlite";
- path = "out";
+ database = data_path.."/prosody.sqlite";
}
]]