Software /
code /
prosody
Comparison
tools/migration/migrator.cfg.lua @ 4211:9a12fc2baa37
tools/migration/*.lua: Rename config to migrator.cfg.lua, add error handling for config and command-line parameters
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 25 Feb 2011 03:32:44 +0000 |
parent | 4209:tools/migration/config.lua@df753c398aa0 |
child | 10003:4d702f0c6273 |
comparison
equal
deleted
inserted
replaced
4210:4583473dcce4 | 4211:9a12fc2baa37 |
---|---|
1 local data_path = "../../data"; | |
2 | |
3 input { | |
4 type = "prosody_files"; | |
5 path = data_path; | |
6 } | |
7 | |
8 output { | |
9 type = "prosody_sql"; | |
10 driver = "SQLite3"; | |
11 database = data_path.."/prosody.sqlite"; | |
12 } | |
13 | |
14 --[[ | |
15 | |
16 input { | |
17 type = "prosody_files"; | |
18 path = data_path; | |
19 } | |
20 output { | |
21 type = "prosody_sql"; | |
22 driver = "SQLite3"; | |
23 database = data_path.."/prosody.sqlite"; | |
24 } | |
25 | |
26 ]] |