got forwardings table

This commit is contained in:
Chris Troutner
2019-01-22 16:43:59 -08:00
parent 02fde0e300
commit 49002dc105
3 changed files with 47 additions and 2 deletions
+3 -1
View File
@@ -11,6 +11,7 @@ const config = require('../config')
// Models
const UsedQuota = require('../postgres/models/used-quota')
const Mailbox = require('../postgres/models/mailbox')
const Forwardings = require('../postgres/models/forwardings')
class IRedMail {
constructor () {
@@ -20,7 +21,8 @@ class IRedMail {
// Load the models
this.models = {
usedQuota: new UsedQuota(this.sequelize),
mailbox: new Mailbox(this.sequelize)
mailbox: new Mailbox(this.sequelize),
forwardings: new Forwardings(this.sequelize)
}
}