mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
e3abb9ceb3
Watching for these events: Level completed User registered Playtime of 30s in a level Purchase Payment Subscribe Earned an achievement
10 lines
301 B
CoffeeScript
10 lines
301 B
CoffeeScript
mongoose = require 'mongoose'
|
|
plugins = require '../plugins/plugins'
|
|
|
|
AnalyticsUsersActiveSchema = new mongoose.Schema({
|
|
created:
|
|
type: Date
|
|
'default': Date.now
|
|
}, {strict: false})
|
|
|
|
module.exports = AnalyticsUsersActive = mongoose.model('analytics.users.active', AnalyticsUsersActiveSchema)
|