Software /
code /
prosody
Comparison
tools/migration/config.lua @ 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 |
parent | 4197:bef732980436 |
comparison
equal
deleted
inserted
replaced
4207:06eb75d071ec | 4212:88f9ded73e8b |
---|---|
1 local data_path = "../../data"; | |
2 | |
1 input { | 3 input { |
4 type = "prosody_files"; | |
5 path = data_path; | |
6 } | |
7 | |
8 output { | |
2 type = "prosody_sql"; | 9 type = "prosody_sql"; |
3 driver = "SQLite3"; | 10 driver = "SQLite3"; |
4 database = "out.sqlite"; | 11 database = data_path.."/prosody.sqlite"; |
5 } | |
6 output { | |
7 type = "prosody_files"; | |
8 path = "out"; | |
9 } | 12 } |
10 | 13 |
11 --[[ | 14 --[[ |
12 | 15 |
13 input { | 16 input { |
14 path = "../../data"; | |
15 type = "prosody_files"; | 17 type = "prosody_files"; |
16 driver = "SQLite3"; | 18 path = data_path; |
17 database = "../../prosody.sqlite"; | |
18 } | 19 } |
19 output { | 20 output { |
20 type = "prosody_sql"; | 21 type = "prosody_sql"; |
21 driver = "SQLite3"; | 22 driver = "SQLite3"; |
22 database = "out.sqlite"; | 23 database = data_path.."/prosody.sqlite"; |
23 path = "out"; | |
24 } | 24 } |
25 | 25 |
26 ]] | 26 ]] |