mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
2dca63eae2
refs https://github.com/TryGhost/Team/issues/1053 This table is going to be completely deleted at some point in the future. It serves as a persistent datastore for a spike into collection analytic events for members. We've opted for a generic table, rather than a table for each event, so that we can push the DB to the limit in terms of the length of the table, and find out performance issues A$AP
10 lines
263 B
JavaScript
10 lines
263 B
JavaScript
const ghostBookshelf = require('./base');
|
|
|
|
const MemberAnalyticEvent = ghostBookshelf.Model.extend({
|
|
tableName: 'temp_member_analytic_events'
|
|
});
|
|
|
|
module.exports = {
|
|
MemberAnalyticEvent: ghostBookshelf.model('MemberAnalyticEvent', MemberAnalyticEvent)
|
|
};
|