Sha256: 953c5c5c5dcee1bb4fe4bef277fa125669ef1cb99b3b763db7889eb5b82b5816

Contents?: true

Size: 683 Bytes

Versions: 43

Compression:

Stored size: 683 Bytes

Contents

class RemoveProviderDiscovery < ActiveRecord::Migration
  def up
    remove_foreign_key "katello_providers", :name => "providers_discovery_task_id_fk"
    remove_column :katello_providers, :discovery_url
    remove_column :katello_providers, :discovery_task_id
    remove_column :katello_providers, :discovered_repos
  end

  def down
    add_column :katello_providers, :discovery_url, :string, :limit => 255
    add_column :katello_providers, :discovered_repos, :text
    add_column :katello_providers, :discovery_task_id, :integer
    add_foreign_key "katello_providers", "katello_task_statuses", :name => "providers_discovery_task_id_fk", :column => "discovery_task_id"
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
katello-3.5.2 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.5.1.1 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.5.1 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.5.0.1 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.5.0 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.5.0.rc2 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.5.0.rc1 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.4.5 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.4.4 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.4.2 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.4.1 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.4.0.2 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.4.0.1 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.3.2 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.4.0 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.4.0.rc2 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.4.0.rc1 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.3.1.1 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.3.1 db/migrate/20140222022712_remove_provider_discovery.rb
katello-3.3.0.1 db/migrate/20140222022712_remove_provider_discovery.rb