# HG changeset patch # User Matthew Wild # Date 1298597371 0 # Node ID 88f9ded73e8b266db82bfcae7deb74fb2597789f # Parent 06eb75d071ec6317facfd8df8aa71f4d58dbe71e tools/migration/config.lua: Minor fixes for more sensible defaults diff -r 06eb75d071ec -r 88f9ded73e8b tools/migration/config.lua --- a/tools/migration/config.lua Fri Feb 25 00:07:38 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"; } ]]