client_management/app/models/site_construct.rb

19 lines
375 B
Ruby

class SiteConstruct
include Mongoid::Document
include Mongoid::Timestamps
SERVER_TYPES = ["Pending","Store"]
SITE_TYPES = ["School","Gravity"]
field :server_type
field :site_name
field :domain_name
field :db_name
field :port
field :path
field :site_type
field :school_name
field :user_id
field :constructed, type: Boolean, :default => false
end