aboutsummaryrefslogtreecommitdiffstats
path: root/tools/migration/config.lua
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
commitd9e40c89b270ae87585da0ebf97df69d19986be2 (patch)
tree6508ff48c4a7c50d2da7b56b7f0e91a191e3c10e /tools/migration/config.lua
parent4bf7ea696c44e23cf29b825197396f135b83bd8e (diff)
downloadprosody-d9e40c89b270ae87585da0ebf97df69d19986be2.tar.gz
prosody-d9e40c89b270ae87585da0ebf97df69d19986be2.zip
tools/migration/config.lua: Minor fixes for more sensible defaults
Diffstat (limited to 'tools/migration/config.lua')
-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";
}
]]