dyno-bot/Dyno-datafactory-develop/models/PremiumActivationLog.js
2020-09-12 19:08:48 +01:00

20 lines
670 B
JavaScript

'use strict';
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const premiumActivationLogSchema = new Schema({
serverID: { type: String, required: true, index: true },
serverName: { type: String },
ownerID: { type: String, required: true, index: true },
userID: { type: String, required: true, index: true },
username: { type: String },
memberCount: { type: Number },
region: { type: String },
type: { type: String, required: true, index: true },
timestamp: { type: String },
importedFromVipData: { type: Boolean }
});
module.exports = { name: 'PremiumActivationLog', schema: premiumActivationLogSchema }