Sha256: 99021ca085deb11789de292673f70d2df689e974f5dff86d85978bf58c925126

Contents?: true

Size: 837 Bytes

Versions: 37

Compression:

Stored size: 837 Bytes

Contents

class RemoveDistributors < ActiveRecord::Migration
  class Katello::Distributor < ActiveRecord::Base
    self.table_name = 'katello_distributors'
  end

  def up
    drop_table "katello_distributors"
  end

  def down
    create_table "katello_distributors", :force => true do |t|
      t.string   "uuid", :limit => 255
      t.string   "name", :limit => 255
      t.text     "description"
      t.string   "location", :limit => 255
      t.integer  "environment_id"
      t.datetime "created_at",      :null => false
      t.datetime "updated_at",      :null => false
      t.integer  "content_view_id"
    end

    add_index "katello_distributors", ["content_view_id"], :name => "index_distributors_on_content_view_id"
    add_index "katello_distributors", ["environment_id"], :name => "index_distributors_on_environment_id"
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
katello-3.4.5 db/migrate/20150901213759_remove_distributors.rb
katello-3.4.4 db/migrate/20150901213759_remove_distributors.rb
katello-3.4.2 db/migrate/20150901213759_remove_distributors.rb
katello-3.4.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.4.0.2 db/migrate/20150901213759_remove_distributors.rb
katello-3.4.0.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.3.2 db/migrate/20150901213759_remove_distributors.rb
katello-3.4.0 db/migrate/20150901213759_remove_distributors.rb
katello-3.4.0.rc2 db/migrate/20150901213759_remove_distributors.rb
katello-3.4.0.rc1 db/migrate/20150901213759_remove_distributors.rb
katello-3.3.1.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.3.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.3.0.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.3.0 db/migrate/20150901213759_remove_distributors.rb
katello-3.3.0.rc2 db/migrate/20150901213759_remove_distributors.rb
katello-3.3.0.rc1.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.3.0.rc1 db/migrate/20150901213759_remove_distributors.rb
katello-3.2.1.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.2.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.2.0 db/migrate/20150901213759_remove_distributors.rb