Sha256: 00d641b5fcb3acc91708673e9fb8bd9cb7f1c091e302cac7ce0bb5d405aedd71

Contents?: true

Size: 374 Bytes

Versions: 26

Compression:

Stored size: 374 Bytes

Contents

class Office::EmailConversationTag
  include Mongoid::Document
  include Mongoid::Timestamps

  belongs_to :email_conversation, class_name: 'Office::EmailConversation'

  field     :wp_term_id, type: :integer
  validates :wp_term_id, uniqueness: { scope: :email_conversation_id }, presence: true
  index({ wp_term_id: -1 })
  index({ wp_term_id: -1, latest_at: -1 })


end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ish_models-0.0.33.282 lib/office/email_conversation_tag.rb
ish_models-0.0.33.281 lib/office/email_conversation_tag.rb
ish_models-0.0.33.280 lib/office/email_conversation_tag.rb
ish_models-0.0.33.279 lib/office/email_conversation_tag.rb
ish_models-0.0.33.278 lib/office/email_conversation_tag.rb
ish_models-0.0.33.277 lib/office/email_conversation_tag.rb