Skip to content

Commit

Permalink
standardrb updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jlbyrne committed Jan 15, 2025
1 parent c042211 commit 080f20b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace :database_updates do
task set_default_site_banner_titles_to_channel_publication_title: :environment do
puts "Attempting to update #{Channel.where(public_identifier: nil).or(Channel.where("length(public_identifier) > 11")).count} site banners"

SiteBanner.where(title: 'Brave Creators').pluck(:id).each_slice(10000) do |channel_chunk|
SiteBanner.where(title: "Brave Creators").pluck(:id).each_slice(10000) do |channel_chunk|
ChangeSiteBannerTitleFromDefaultToPublicationTitleJob.perform_later(channel_chunk)
end

Expand Down

0 comments on commit 080f20b

Please sign in to comment.