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