# HG changeset patch # User Matthew Wild # Date 1298597371 0 # Node ID df753c398aa0acc2216c04444ad57a701c027d09 # Parent 25ce18c934173e30437f6563a647d953871e54c8 tools/migration/config.lua: Minor fixes for more sensible defaults diff -r 25ce18c93417 -r df753c398aa0 tools/migration/config.lua --- a/tools/migration/config.lua Fri Feb 25 00:08:14 2011 +0000 +++ b/tools/migration/config.lua Fri Feb 25 01:29:31 2011 +0000 @@ -1,26 +1,26 @@ +local data_path = "../../data"; + input { + type = "prosody_files"; + path = data_path; +} + +output { type = "prosody_sql"; driver = "SQLite3"; - database = "out.sqlite"; -} -output { - type = "prosody_files"; - path = "out"; + 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"; } ]]