summaryrefslogtreecommitdiff
path: root/bucky/db/bookshelf.js
diff options
context:
space:
mode:
authorpep <yes@peepee.me>2020-07-24 00:33:16 +0000
committerpep <yes@peepee.me>2020-07-24 00:33:16 +0000
commit5ea73bbfba2f48659346f9e5f6aae9b4b618daa9 (patch)
tree2d4cf737fe63931651cf1c35bb349fc97cad6b82 /bucky/db/bookshelf.js
parent789dbb1e734885bd7cf5ad25f0d2f47765a13657 (diff)
good
Diffstat (limited to 'bucky/db/bookshelf.js')
-rw-r--r--bucky/db/bookshelf.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/bucky/db/bookshelf.js b/bucky/db/bookshelf.js
index df14961..47a9636 100644
--- a/bucky/db/bookshelf.js
+++ b/bucky/db/bookshelf.js
@@ -17,6 +17,7 @@ var knex = require('knex')({
})
var bookshelf = require('bookshelf')(knex)
+bookshelf.plugin('registry');
module.exports = {
bookshelf: bookshelf,