From a33886bcb1257fb0629c64658036d232623c6d1e Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 25 Feb 2011 01:29:31 +0000 Subject: tools/migration/config.lua: Minor fixes for more sensible defaults --- tools/migration/config.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'tools/migration/config.lua') 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"; } ]] -- cgit v1.2.3