Sha256: 8a6ac667880a5258fd30d1f5404da3b2e91230119da402ef11c7812013f450cb

Contents?: true

Size: 306 Bytes

Versions: 10

Compression:

Stored size: 306 Bytes

Contents

require "prerendered_entity"

class ManualChangeHistory
  include Mongoid::Document
  include Mongoid::Timestamps
  extend PrerenderedEntity

  field :updates, type: Array
  field :slug, type: String
  field :manual_slug, type: String

  index "slug", unique: true

  validates :slug, uniqueness: true
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
govuk_content_models-28.7.0 app/models/manual_change_history.rb
govuk_content_models-28.6.2 app/models/manual_change_history.rb
govuk_content_models-28.6.1 app/models/manual_change_history.rb
govuk_content_models-28.6.0 app/models/manual_change_history.rb
govuk_content_models-28.5.0 app/models/manual_change_history.rb
govuk_content_models-28.4.0 app/models/manual_change_history.rb
govuk_content_models-28.3.0 app/models/manual_change_history.rb
govuk_content_models-28.2.0 app/models/manual_change_history.rb
govuk_content_models-28.1.0 app/models/manual_change_history.rb
govuk_content_models-28.0.1 app/models/manual_change_history.rb