mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-01 03:16:56 -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)
|