Sha256: 56452eb1e623fcb6c5e05497b9be0b9b7aac60ab378f22b416d2185a93e8a704

Contents?: true

Size: 841 Bytes

Versions: 195

Compression:

Stored size: 841 Bytes

Contents

class RemoveDistributors < ActiveRecord::Migration[4.2]
  class Katello::Distributor < ApplicationRecord
    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

195 entries across 195 versions & 1 rubygems

Version Path
katello-4.2.0.rc2 db/migrate/20150901213759_remove_distributors.rb
katello-4.1.3 db/migrate/20150901213759_remove_distributors.rb
katello-4.2.0.rc1 db/migrate/20150901213759_remove_distributors.rb
katello-4.0.2.1 db/migrate/20150901213759_remove_distributors.rb
katello-4.1.2.1 db/migrate/20150901213759_remove_distributors.rb
katello-4.0.2 db/migrate/20150901213759_remove_distributors.rb
katello-4.1.2 db/migrate/20150901213759_remove_distributors.rb
katello-3.18.4 db/migrate/20150901213759_remove_distributors.rb
katello-4.1.1 db/migrate/20150901213759_remove_distributors.rb
katello-4.1.0 db/migrate/20150901213759_remove_distributors.rb
katello-4.0.1.2 db/migrate/20150901213759_remove_distributors.rb
katello-3.18.3.1 db/migrate/20150901213759_remove_distributors.rb
katello-4.1.0.rc2.2 db/migrate/20150901213759_remove_distributors.rb
katello-4.1.0.rc2.1 db/migrate/20150901213759_remove_distributors.rb
katello-4.0.1.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.18.3 db/migrate/20150901213759_remove_distributors.rb
katello-4.1.0.rc2 db/migrate/20150901213759_remove_distributors.rb
katello-4.0.1 db/migrate/20150901213759_remove_distributors.rb
katello-4.1.0.rc1.1 db/migrate/20150901213759_remove_distributors.rb
katello-4.1.0.rc1 db/migrate/20150901213759_remove_distributors.rb