Skip to content

Commit

Permalink
Add all_documents bulk republishing content type
Browse files Browse the repository at this point in the history
This allows us to track when users request that all documents are
republished (UI to follow)
  • Loading branch information
yndajas committed May 30, 2024
1 parent 301aba9 commit 3de13ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/republishing_event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class RepublishingEvent < ApplicationRecord
validates :bulk_content_type, presence: true, if: -> { bulk }

enum :bulk_content_type, %i[
all_documents
all_organisation_about_us_pages
]
end

0 comments on commit 3de13ef

Please sign in to comment.