diff options
Diffstat (limited to 'bucky/db/index.js')
| -rw-r--r-- | bucky/db/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bucky/db/index.js b/bucky/db/index.js index 9e01e9b..c2cf947 100644 --- a/bucky/db/index.js +++ b/bucky/db/index.js @@ -192,6 +192,7 @@ db.getMailboxCounts = function(boxes){ return knex.column('mbox').count('* as count').select().from('messages').where('mbox', 'in', boxes).groupBy('mbox') } db.createMailbox = function(data){ + return new db.Mailbox(data).save() } /* MESSAGES */ |
