Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
svevang committed Nov 5, 2024
1 parent f3eb4f9 commit 456827d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
6 changes: 0 additions & 6 deletions app/models/apple/podcast_delivery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ def self.create_podcast_deliveries(api, episodes)
end

# Don't create deliveries for containers that already have deliveries.
# An alternative workflow would be to swap out the existing delivery and
# upload different audio.
#
# The overall publishing workflow dependes on the assumption that there is
# a delivery present. If we don't create a delivery here, we short-circuit
# subsequent steps (no uploads, no audio linking).
episodes = select_episodes_for_delivery(episodes)
podcast_containers = episodes.map(&:podcast_container)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
class DropUnusedPodcastContainerCols < ActiveRecord::Migration[7.2]
def change
remove_column :apple_podcast_containers, :source_url, :string
remove_column :apple_podcast_containers, :source_filename, :string
remove_column :apple_podcast_containers, :source_size, :bigint
remove_column :apple_podcast_containers, :enclosure_url, :string
end
end
6 changes: 1 addition & 5 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 456827d

Please sign in to comment.