0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server/models/offer-redemption.js
Fabien O'Carroll e2b243040e Added OfferRedemption model
refs https://github.com/TryGhost/Team/issues/1132

A model is needed for reading and writing Offer Redemptions to the
database.
2021-10-15 16:56:04 +02:00

10 lines
238 B
JavaScript

const ghostBookshelf = require('./base');
const OfferRedemption = ghostBookshelf.Model.extend({
tableName: 'offer_redemptions'
});
module.exports = {
OfferRedemption: ghostBookshelf.model('OfferRedemption', OfferRedemption)
};