mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
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)
|
|
};
|
|
|