Created
February 10, 2013 23:32
-
-
Save mikekunze/4751516 to your computer and use it in GitHub Desktop.
submit users model for rate limiting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mongoose.model 'submit_users', new Schema | |
session_id: | |
type: String | |
lastVisitedOn: | |
type: Date | |
default: Date.now() | |
lastSubmissionDate: | |
type: Date | |
default: Date.now() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment