Sha256: 1705a2ae412c44801327e084a4e2a5588787e656e0ec717d0d246ed149014642

Contents?: true

Size: 343 Bytes

Versions: 81

Compression:

Stored size: 343 Bytes

Contents

class Ish::Event
  include Mongoid::Document
  include Mongoid::Timestamps

  field :start_at, type: ActiveSupport::TimeWithZone
  index({ start_at: 1 })

  field :end_at, type: ActiveSupport::TimeWithZone

  field :name
  index({ name: 1 })

  field :descr

  field :is_public, type: :boolean, default: false
  index({ is_public: 1 })

end

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
ish_models-3.0.0.1 lib/ish/event.rb
ish_models-0.0.33.304 lib/ish/event.rb
ish_models-0.0.33.303 lib/ish/event.rb
ish_models-0.0.33.302 lib/ish/event.rb
ish_models-0.0.33.301 lib/ish/event.rb
ish_models-0.0.33.300 lib/ish/event.rb
ish_models-0.0.33.299 lib/ish/event.rb
ish_models-0.0.33.298 lib/ish/event.rb
ish_models-0.0.33.297 lib/ish/event.rb
ish_models-0.0.33.296 lib/ish/event.rb
ish_models-0.0.33.295 lib/ish/event.rb
ish_models-0.0.33.294 lib/ish/event.rb
ish_models-0.0.33.293 lib/ish/event.rb
ish_models-0.0.33.292 lib/ish/event.rb
ish_models-0.0.33.291 lib/ish/event.rb
ish_models-0.0.33.287 lib/ish/event.rb
ish_models-0.0.33.286 lib/ish/event.rb
ish_models-0.0.33.285 lib/ish/event.rb
ish_models-0.0.33.284 lib/ish/event.rb
ish_models-0.0.33.283 lib/ish/event.rb