From b32f012f47752f7eb5d68d9ad0c45a604ed5d27d Mon Sep 17 00:00:00 2001 From: chok Date: Sun, 18 Jan 2015 18:33:13 +0100 Subject: [PATCH] [table-creation] delegate tableOptions to subclasses --- lib/sql.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sql.js b/lib/sql.js index c2697684..fc440327 100644 --- a/lib/sql.js +++ b/lib/sql.js @@ -171,6 +171,6 @@ BaseSQL.prototype.dropTable = function (model, cb) { BaseSQL.prototype.createTable = function (model, cb) { this.command('CREATE TABLE ' + this.tableEscaped(model) + - ' (\n ' + this.propertiesSQL(model) + '\n)', cb); + this.propertiesSQL(model), cb); };