summaryrefslogtreecommitdiff
path: root/bucky/db/bookshelf.js
diff options
context:
space:
mode:
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()
}
}