Добавлен конвертер SQLITE -> JambaDb

This commit is contained in:
Book Pauk
2021-12-03 14:07:32 +07:00
parent e278b4a00e
commit fb2eedd5ba
2 changed files with 48 additions and 2 deletions

View File

@@ -49,6 +49,10 @@ async function init() {
const jembaConnManager = new (require('./db/JembaConnManager'))();//singleton
await jembaConnManager.init(config);
//converter SQLITE => JembaDb
const converter = new (require('./db/Converter'))();
await converter.run(config);
}
async function main() {
@@ -110,9 +114,9 @@ async function main() {
await main();
} catch (e) {
if (log)
log(LM_FATAL, e);
log(LM_FATAL, e.stack);
else
console.error(e);
console.error(e.stack);
ayncExit.exit(1);
}
})();