diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-15 10:43:52 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-15 10:43:52 +0100 |
| commit | a239f46aaf924031ea53a95130215a2dd3f4dbd6 (patch) | |
| tree | cc8bcfa9edc0da11f0f756c16d43def5d32eceae /bucky/db/bookshelf.js | |
| parent | 8c0196b973d936a8659bb27d5f189410bc5f8ea6 (diff) | |
blobbyblob
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() - } } }) |
