Sha256: 40c7ea5dfb99f33a081f4e44690b051a6ec77c98283ce5a1cb34f71b5f07bd29

Contents?: true

Size: 338 Bytes

Versions: 171

Compression:

Stored size: 338 Bytes

Contents

class UnitsUuidToBackendIdent < ActiveRecord::Migration[5.2]
  def change
    %w(rpms errata package_groups files yum_metadata_files srpms module_streams debs docker_tags docker_manifests
       docker_manifest_lists puppet_modules ostree_branches).each do |name|
      rename_column("katello_#{name}", :uuid, :pulp_id)
    end
  end
end

Version data entries

171 entries across 171 versions & 1 rubygems

Version Path
katello-4.7.3 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.7.2 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.7.1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.6.2.1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.6.2 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.7.0 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.6.1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.7.0.rc2 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.7.0.rc1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.4.2.2 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.4.2.1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.4.2 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.5.1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.6.0 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.6.0.rc2 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.6.0.rc1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.5.0 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.5.0.rc2 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.4.1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.5.0.rc1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb