Sha256: fa5b8add4f48135013baf76152ea2f9b7b576f04c57995dcc598aef3a2fa0a35

Contents?: true

Size: 282 Bytes

Versions: 47

Compression:

Stored size: 282 Bytes

Contents

class AddContentViewVersionCounts < ActiveRecord::Migration[5.2]
  def change
    add_column :katello_content_view_versions, :content_counts, :text
    Katello::ContentViewVersion.reset_column_information
    Katello::ContentViewVersion.all.each(&:update_content_counts!)
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
katello-3.15.0.1 db/migrate/20191204214919_add_content_view_version_counts.rb
katello-3.15.0 db/migrate/20191204214919_add_content_view_version_counts.rb
katello-3.15.0.rc2 db/migrate/20191204214919_add_content_view_version_counts.rb
katello-3.15.0.rc1.3 db/migrate/20191204214919_add_content_view_version_counts.rb
katello-3.15.0.rc1.2 db/migrate/20191204214919_add_content_view_version_counts.rb
katello-3.15.0.rc1.1 db/migrate/20191204214919_add_content_view_version_counts.rb
katello-3.15.0.rc1 db/migrate/20191204214919_add_content_view_version_counts.rb