e2b243040e
refs https://github.com/TryGhost/Team/issues/1132 A model is needed for reading and writing Offer Redemptions to the database.
11 lines
238 B
JavaScript
11 lines
238 B
JavaScript
const ghostBookshelf = require('./base');
|
|
|
|
const OfferRedemption = ghostBookshelf.Model.extend({
|
|
tableName: 'offer_redemptions'
|
|
});
|
|
|
|
module.exports = {
|
|
OfferRedemption: ghostBookshelf.model('OfferRedemption', OfferRedemption)
|
|
};
|
|
|