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.14.2 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.15.0 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.15.0.rc2 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.15.0.rc1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.14.1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.14.0 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.14.0.rc3 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.14.0.rc2 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.14.0.rc1.1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.14.0.rc1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.13.1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.13.0 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.12.1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.13.0.rc1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.12.0 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.12.0.rc3 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.12.0.rc2 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.12.0.rc1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.11.1 db/migrate/20190107160723_units_uuid_to_backend_ident.rb
katello-4.11.0 db/migrate/20190107160723_units_uuid_to_backend_ident.rb