diff options
Diffstat (limited to 'app/models/invite_code.rb')
-rw-r--r-- | app/models/invite_code.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/invite_code.rb b/app/models/invite_code.rb index 6fcc427..5666a4f 100644 --- a/app/models/invite_code.rb +++ b/app/models/invite_code.rb @@ -5,6 +5,7 @@ class InviteCode < CouchRest::Model::Base use_database 'invite_codes' property :invite_code, String, :read_only => true property :invite_count, Integer, :default => 0, :accessible => true + property :max_uses, Integer, :default => 1 timestamps! |