Models fix
This commit is contained in:
parent
c55c239553
commit
0640e2424e
|
@ -2,8 +2,8 @@ class Invite
|
|||
include Mongoid::Document
|
||||
store_in :invites
|
||||
|
||||
key :referer, Integer,
|
||||
key :email, String,
|
||||
key :code, String,
|
||||
key :senton, Datetime
|
||||
key :referer, Integer
|
||||
key :email, String
|
||||
key :code, String
|
||||
key :senton, Date
|
||||
end
|
|
@ -2,11 +2,11 @@ class User
|
|||
include Mongoid::Document
|
||||
store_in :users
|
||||
|
||||
key :name, String,
|
||||
key :password, String,
|
||||
key :email, String,
|
||||
key :regdate, Datetime,
|
||||
key :invites, Integer,
|
||||
key :referer, Integer,
|
||||
key :name, String
|
||||
key :password, String
|
||||
key :email, String
|
||||
key :regdate, Date
|
||||
key :invites, Integer
|
||||
key :referer, Integer
|
||||
key :active, Integer
|
||||
end
|
Loading…
Reference in New Issue