Sha256: 441b5e0cc368a1b7c74e3ba9ccc445110fe44c55bd3e8201f49e880e4849bc98

Contents?: true

Size: 470 Bytes

Versions: 3

Compression:

Stored size: 470 Bytes

Contents

class RemovePulp3MigratedHrefsFromContentTables < ActiveRecord::Migration[6.1]
  def change
    content_models = [Katello::Rpm, Katello::ModuleStream, Katello::Erratum, Katello::PackageGroup, Katello::YumMetadataFile,
                      Katello::Srpm, Katello::FileUnit, Katello::DockerManifestList, Katello::DockerManifest, Katello::DockerTag]

    content_models.each do |model|
      remove_column model.table_name, :migrated_pulp3_href, :string
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katello-4.15.0 db/migrate/20241025151105_remove_pulp3_migrated_hrefs_from_content_tables.rb
katello-4.15.0.rc2 db/migrate/20241025151105_remove_pulp3_migrated_hrefs_from_content_tables.rb
katello-4.15.0.rc1 db/migrate/20241025151105_remove_pulp3_migrated_hrefs_from_content_tables.rb