aboutsummaryrefslogtreecommitdiffstats
path: root/tools/migration/config.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-02-25 03:32:44 +0000
committerMatthew Wild <mwild1@gmail.com>2011-02-25 03:32:44 +0000
commit34b35a3bb276ee95437cff49b069df4aa33859e5 (patch)
tree2f2739a93ef4932dac807fd5681f16899433b5e2 /tools/migration/config.lua
parent377ab2ee58ed5fc71b85411bf2ad6c9b656b5aec (diff)
downloadprosody-34b35a3bb276ee95437cff49b069df4aa33859e5.tar.gz
prosody-34b35a3bb276ee95437cff49b069df4aa33859e5.zip
tools/migration/*.lua: Rename config to migrator.cfg.lua, add error handling for config and command-line parameters
Diffstat (limited to 'tools/migration/config.lua')
-rw-r--r--tools/migration/config.lua26
1 files changed, 0 insertions, 26 deletions
diff --git a/tools/migration/config.lua b/tools/migration/config.lua
deleted file mode 100644
index fa37f2a3..00000000
--- a/tools/migration/config.lua
+++ /dev/null
@@ -1,26 +0,0 @@
-local data_path = "../../data";
-
-input {
- type = "prosody_files";
- path = data_path;
-}
-
-output {
- type = "prosody_sql";
- driver = "SQLite3";
- database = data_path.."/prosody.sqlite";
-}
-
---[[
-
-input {
- type = "prosody_files";
- path = data_path;
-}
-output {
- type = "prosody_sql";
- driver = "SQLite3";
- database = data_path.."/prosody.sqlite";
-}
-
-]]