```ruby
StatisticsAnnouncement.where.not(content_id: "").find_each(batch_size: 100) do |statistics_announcement|
  statistics_announcement.publish_to_publishing_api
end

```

Update republish `StatisticsAnnouncement` data migration
user
```ruby
statistics_announcements = StatisticsAnnouncement.unscoped.where.not(content_id: "")
republisher = DataHygiene::PublishingApiRepublisher.new(statistics_announcements)
republisher.perform




```
assistant