summaryrefslogtreecommitdiff
path: root/bucky/db/bookshelf.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-08 05:37:20 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-08 05:37:20 +0100
commit9978bb56fc2c56ad52930bde9bcaa561158a158a (patch)
tree0998cfc21091c6923b0bf3988a35ff82f1e58e98 /bucky/db/bookshelf.js
parentdd45551e4bf64ba472976b60986b9273449aae70 (diff)
searches working correctly
Diffstat (limited to 'bucky/db/bookshelf.js')
-rw-r--r--bucky/db/bookshelf.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/bucky/db/bookshelf.js b/bucky/db/bookshelf.js
index 69157cc..32f4aba 100644
--- a/bucky/db/bookshelf.js
+++ b/bucky/db/bookshelf.js
@@ -11,6 +11,9 @@ var knex = require('knex')({
if (field.type == 'BLOB') {
return field.string()
}
+ if (field.type == 'TINYBLOB') {
+ return field.string()
+ }
return next()
}
}