Software /
code /
prosody
Changeset
4212:88f9ded73e8b
tools/migration/config.lua: Minor fixes for more sensible defaults
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 25 Feb 2011 01:29:31 +0000 |
parents | 4207:06eb75d071ec |
children | 4213:8f169a92b4ba |
files | tools/migration/config.lua |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- 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"; } ]]