diff --git a/lib/Lib/Core/Model.js b/lib/Lib/Core/Model.js index fd27dcde..d02dce39 100644 --- a/lib/Lib/Core/Model.js +++ b/lib/Lib/Core/Model.js @@ -178,6 +178,7 @@ var Model = module.exports = Class(function(){ * @return Promise */ getTableFields: function(table, all){ + this.initDb(); if (table === true) { table = undefined; all = true;