From 8432ff7d302c2f0b8dcd47b4a447fd07a3ea29fa Mon Sep 17 00:00:00 2001 From: welefen Date: Mon, 16 Jun 2014 17:34:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A8=A1=E5=9E=8B=E5=92=8C?= =?UTF-8?q?=E9=AB=98=E7=BA=A7=E6=A8=A1=E5=9E=8B=E7=9A=84=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Lib/Core/Model.js | 1 + 1 file changed, 1 insertion(+) 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;