diff options
Diffstat (limited to 'bucky/db/bookshelf.js')
| -rw-r--r-- | bucky/db/bookshelf.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bucky/db/bookshelf.js b/bucky/db/bookshelf.js index 32f4aba..b631545 100644 --- a/bucky/db/bookshelf.js +++ b/bucky/db/bookshelf.js @@ -6,16 +6,6 @@ var knex = require('knex')({ password : process.env.DB_PASS, database : process.env.DB_NAME, charset : 'utf8', - typecast : function (field, next) { - console.log(field.type) - if (field.type == 'BLOB') { - return field.string() - } - if (field.type == 'TINYBLOB') { - return field.string() - } - return next() - } } }) |
