Getting mailbox table

This commit is contained in:
Chris Troutner
2019-01-22 15:26:50 -08:00
parent ef993b2763
commit 02fde0e300
4 changed files with 14 additions and 7 deletions
+3 -1
View File
@@ -10,6 +10,7 @@ const config = require('../config')
// Models
const UsedQuota = require('../postgres/models/used-quota')
const Mailbox = require('../postgres/models/mailbox')
class IRedMail {
constructor () {
@@ -18,7 +19,8 @@ class IRedMail {
// Load the models
this.models = {
usedQuota: new UsedQuota(this.sequelize)
usedQuota: new UsedQuota(this.sequelize),
mailbox: new Mailbox(this.sequelize)
}
}