Sha256: e602c45ca2316bce5ee64be042d28d484b66025ed3309e237eda572a97270585

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

class AddDockerContainerRegistryUrlToProviders < ActiveRecord::Migration
  def up
    add_column :katello_providers, :docker_registry_url, :string
    ::Katello::Provider.redhat.update_all(:docker_registry_url =>
                                          Katello.config.redhat_docker_registry_url)
  end

  def down
    remove_column :katello_providers, :docker_registry_url
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
katello-2.2.2 db/migrate/20141003210742_add_docker_container_registry_url_to_providers.rb